Skip to main content
Vladin M. Mitov
Inspiring
October 12, 2019
Answered

JSFL - calculating Tint Color value

  • October 12, 2019
  • 1 reply
  • 742 views

Hi, guys!

 

I have a small JSFL pickle:
I need to extract a tint color and tint percent from given "advanced "color values. For example, a symbol instance has the following values in avdanced color mode:

colorRedPercent: 95, colorRedAmount: 5
colorGreenPercent: 95, colorGreenAmount: 8
colorBluePercent: 95, colorBlueAmount: 8

 

 

When I switch the instance color mode to "tint", the application shows me these values:


red:102, green:153, blue:153
percent:5

Is it possible to calculate the tint and percent values?

 

 

    This topic has been closed for replies.
    Correct answer ClayUUID

    Advanced values are not going to map directly to tint values. That's the entire point of Advanced mode. It lets you achieve color effects outside the gamut of the tint formula.

    1 reply

    ClayUUIDCorrect answer
    Legend
    October 12, 2019

    Advanced values are not going to map directly to tint values. That's the entire point of Advanced mode. It lets you achieve color effects outside the gamut of the tint formula.

    Vladin M. Mitov
    Inspiring
    December 2, 2019

    OK, I understood. Thanks!

     

     

    - Vlad: UX and graphic design, Flash user since 1998Member of Flanimate Power Tools team - extensions for character animation