RGB to hex conversion



  • Hello,

    I was wanting to know if there was an RGB to hex conversion in Qt. I read through Qt color picker and Qt color documentation but was unable to find any conversion for RGB to hex. I know it is simple to parse and convert myself but I would like to use a function.

    Thanks in advance,

    Bryan



  • @QColor( QRgb color ).name()@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.