Podsumowanie podstawowych parametrów barwnych:
Brightness(r,g,b) |
- max(r,g,b) |
lntensity(r,g,b) |
= (r + g + b) / 3 |
Luminance(r,g,b) |
= 0.299 * r + 0.587 * g + 0.114 * b |
_ Saturation(r,g,b) |
= ( max(r,g,b) - min(r,g,b)) / max(r,g,b) |
Lightness(r,g,b) |
= ( min(r,g,b) + max(r,g,b)) / 2 |
Si