top of page

HSB (HSV) to RGB

Page: 1   2   3   4   5   6   7   8 

3. Calculation of RGB Intermediate (Slope Up)

3.0 - Hue - Absolute value conversion:

1,.jpg

3.1 - Calculation of H - initial with mod 6:

3 copy.jpg

3.2 - When R′, G′, B′ = X slope up (XU):

3.jpg

3.3 - Simplifying the equations:

2.jpg

Comment: 

B = Brightness,

B % = When the value of the brightness is expressed as a percentage.

C = Chroma,

m = R′, G′, B min = R′, G′, B′ decimal code with smallest value.
G = Green color, with an absolute value of 0 – 255.
G′ = Green color with an absolute value of 0 – 1. 

S = Saturation. 

3.4 - If change H initial with H final:

5.jpg

Comment: 

Hi = Hue′ Initial,

Hf  = Hue′ Final.

3.5 - Example:

6.jpg

3.6 - RGB intermediate - Graph:

7.jpg

HSB (HSV) to RGB

Page: 1   2   3   4   5   6   7   8 

bottom of page