![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Greetings Is there an easy way to determine whether a uiObject's color is too dark to use font.color=black, and instead replace it with font.color=white? If I check each rgb() value, what would the breaking point be? Or should I add then together (red+green+blue > x)? Or does someone have a better solution? Thanks, Jim Moseley |
#3
| |||
| |||
|
|
Greetings Is there an easy way to determine whether a uiObject's color is too dark to use font.color=black, and instead replace it with font.color=white? If I check each rgb() value, what would the breaking point be? Or should I add then together (red+green+blue > x)? Or does someone have a better solution? Thanks, Jim Moseley |
#4
| |||
| |||
|
|
Is there an easy way to determine whether a uiObject's color is too dark to use font.color=black, and instead replace it with font.color=white? |
![]() |
| Thread Tools | |
| Display Modes | |
| |