Font color not correct Thread last updated on 2007-04-02 06:15:16

Posted by member 250843 on 2007-03-31 12:03:42

I'm modifying the united LS theme to add a bit more that I'm used to having. One of the things is a song playing title/time bar. I took the code from non|step, and that much works fine using xLabel. However, it didn't have a color specified, so black was used, but that doesn't work well against a dark gray background, so I went about using the [label]FontColor (R, G, B) line to change the color. However, it seems I can't get anything lighter than a bright cyan color. The font color setting in the theme is in hex (abdcfc), which should be (171, 220, 252). Any idea why it won't display the correct color?

Posted by member 256241 on 2007-03-31 15:17:03 link

Try specifying it with hex? I use: dateFontColor C0DBF7, which works perfectly....

Posted by member 250843 on 2007-03-31 16:31:06 link

xLabel doesn't seem to accept hex. I tried using it, and it was still black. At least, it doesn't read hex if you just put in "abdcfc." Does it need a modifier to let the module know you're giving it a hex value?

Posted by member 1 on 2007-03-31 16:35:22 link

swmmng: Please copy and paste the exact line that is in your *.rc file here.

Posted by member 250843 on 2007-03-31 16:56:09 link

RGB value that gives me bright cyan text:
ampTimeLabelFontColor (171, 220, 252)

Corresponding hex value that gives black text:
ampTimeLabelFontColor (abdcfc)

Posted by member 212670 on 2007-03-31 18:18:25 link

This what module version?

Posted by member 1 on 2007-03-31 18:29:16 link

try...
ampTimeLabelFontColor abdcfc

Posted by member 1885 on 2007-03-31 18:34:26 link

yeah... why the parentheses??

Posted by member 250843 on 2007-04-02 06:15:16 link

Wow, yeah, no parentheses. I put them in because in the readme, the syntax was given as FontColor (color). Thanks, though.