top of page

HSB (HSV) to RGB

Page: 1   2   3   4   5   6   7   8 

1.jpg

1)  C, X, 0 Chart:

1..jpg

RGB Max: R′G′B′ of the largest RGB code is equal to chroma (C).

RGB-Intermediate: R′G′B′ of the second largest RGB code is equal to X. There are two variants of X: Xu and Xd.

RGB min: R′G′B′ for the smallest RGB code is equal to zero (0).

2)  Calculation of R, G, B max:

RGB max: R, G, B decimal code with greatest value. Absolute value = |0 - 255|.

2.0 - When R′, G′, B′ = Chroma (C):

1.0. Chroma.jpg

2.1 - Simplifying the equations:

2.1 Chroma.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.
R = Red color, with an absolute value of 0 – 255.
R′ = Red color with an absolute value of 0 – 1. 

S = Saturation. 

2.1 - Example:

1.2 Chroma (B).jpg

2.1 - RGB max - Graph:

1.3.jpg

RGB to HSB (HSV)

Page: 1   2   3   4   5   6   7   8 

bottom of page