Tint or Shade Hise internal Colour
-
Is it possible to Tint or Shade Hise internal Colour?
Let's say I use this:var Col = Label.get("bgColour"); what to do... var NewCol = .............
-
@ulrik Do you mean to re-use in the same Label or somewhere else?
-
@ustk Yes I'm going to reuse the colour in a label but tinted or shaded
-
@ulrik Modifying the alpha is all I see you can do
var NewCol = Colours.withAlpha(Label.get("bgColour"), alpha);
Except that it might be possible to work on the HEX value of this "bgColour" if you can extract it.
I reckon @d-healey made a script long ago (it should be in his Git) for working on colours so it might be possible to get something interesting out of it... -
@ustk Ok I see, if I have the 0xFFXXXXXX version of the colour, and a Hex lookup table, then I'm able to tint or shade.
Thank you I will have a look at Davids scripts. (: