slartibartfast
01-28-2004, 07:55 AM
Well I tidied up my color converter code so i thought i better give it to you.
ShowEQ supports any named color from rgb.txt plus explicit RGB values in the form #RRGGBB. Currently MySeq only supports a few named colours and fails to recognise the #RRGGBB values.
I have written a class which can convert either a named color or a RGB value into a colour. You can optionally load a rgb.txt file to increase .Net's native named color support.
In the example project attached "Navy Blue" is a color not recognised by .Net, but is present in the rgb.txt file.
ShowEQ supports any named color from rgb.txt plus explicit RGB values in the form #RRGGBB. Currently MySeq only supports a few named colours and fails to recognise the #RRGGBB values.
I have written a class which can convert either a named color or a RGB value into a colour. You can optionally load a rgb.txt file to increase .Net's native named color support.
In the example project attached "Navy Blue" is a color not recognised by .Net, but is present in the rgb.txt file.