Open
Description
I'm having an issue with lighten/darken (not tested other functions yet). If i pass a colorName or hex value, these all work as expected.
However if i pass the color of a control (which is set as an RGB value) or if i simply pass an RGB value, darken returns black and lighten returns a dark grey, no matter what color is passed as RBG.
The attached stack is a simple test - the buttons on the left assign aa color to 'source' by color name, RGB or hex, the buttons on the right lighten/darken the 'destination' graphic based on the 'source' background color.
tinyColor test.livecode.zip
Metadata
Metadata
Assignees
Labels
No labels