Just leave a homework in class, just contact, many places do not understand, want to consult the
Q 1 and 2, brightness, and the larger the RGB value, the greater the brightness, the answer to this question is 7 and 0? Or converted into HSV?
The third in the 4 q, saturation, are three RGB values, the more close to the lower? Specific how should the solution of the system?
Thank you,
(invite reply is automatically if have bother please forgive me)
CodePudding user response:
A thing or two, that is, the original poster said;Three or four,
Find out the maximum and the minimum, degree of saturation in RGB three=(maximum, minimum)/Max,
Color on the maximum R=254, minimum value B=58, then the above saturation S=(254-58)/254=0.7716=77%
So, one by one to calculate (4 * 4=16), and, of course, can also according to the law
CodePudding user response: