Skip to main content
Participant
March 24, 2023
Answered

How does Illustrator calculates tints?

  • March 24, 2023
  • 3 replies
  • 742 views

Hello,

 

once you save a global color, you can create a lighter version of that color by using the slider for tints. Can anybody tell me how Illustrator calculates theses lighter versions of that color?

For example, if I set the T value to 20% for a color with an RGB value of 0, 71, 147, Illustrator cames up with a color with an RGB value of 204, 218, 233. How are these values ​​related?

This topic has been closed for replies.
Correct answer Test Screen Name

These values are exactly as I'd expect on a linear scale from the original colour to white (R,G, B) =(255,255,255). Let T be the tint, between 0 and 1 (0.2 for 20%). Then 

R' = 255 - ( ( 255 - R ) x T ) 

and so on.
When T = 0, R' = 255. When T = 1, R' = R. 

3 replies

Test Screen NameCorrect answer
Legend
March 25, 2023

These values are exactly as I'd expect on a linear scale from the original colour to white (R,G, B) =(255,255,255). Let T be the tint, between 0 and 1 (0.2 for 20%). Then 

R' = 255 - ( ( 255 - R ) x T ) 

and so on.
When T = 0, R' = 255. When T = 1, R' = R. 

Participant
March 27, 2023

Thanks, straight to the point. This is exactly what i was looking for 🙂

Sergey Osokin
Inspiring
March 25, 2023

I once needed to parse color values from a spot tint. As I understand it, it uses linear interpolation from white to the original color. I wrote a note about this with a code example: https://aiscripts.medium.com/get-spotcolor-tint-color-b699f569c03d

Jacob Bugge
Community Expert
Community Expert
March 24, 2023

Lukas,

 

The R, G, and B, are components of colours made of light. With the value 255 of all you have white, white light made of all the colours; with the value 0 of all you have black, the lack of light from any of the colours.

 

Tints correspond to Opacity; you can compare a 20% tint and a 20% opacity (Transparency panel) on a white background.

 

You can also compare the greyscale % values such as 25%, 50%, 75 % to the appearance of equal values of R and G and B such as 192, 128, and 64.

 

When you start out with such different RGB values as 0/47/147 and reduce the tint, each of the R an G and B will grow at different rates and get closer to one another; the R values grows the most (starting from 0), and B grows the least (starting from 147 which is more then 50%/128).

 

 

To go a bit further, you can:

 

1) start out with a rectangle having a fill of full red 255/0/0 as a global colour, then make copies of it with tints 75%, 50%, 75%, and 0% vertically up or down,

2) Make two copies to the left of the whole set,

3) In the first copy set, switch from the tint to RGB and see how the G and B increase from 0 to 255,

4) In the second copy set, switch from the tint to HSB and see how the S decreases from 100 to 0.

 

Concerning HSB, the H is Hue, 0 being pure R (you can also see pure G and B), S is Saturation, and B is brightness.

 

 

And you can look here,

https://helpx.adobe.com/illustrator/using/color.html