Conversion between RGB and HSB color models 1

Conversion between RGB and HSB color models

a. left pane of the applet represents RGB color space, while the right pane represents HSB color space b. at the start, applet picks a random color and shows the represantative values in both RGB and HSB color spaces c. user selects a color by changing three respective values in RGB space and is interactively shown the resulting values in HSB space d. alternatively, user selects a color in HSB space and, in real-time, is shown the resulting color in RGB space

$$$APPLET

Conversion between RGB and HSB color models. Author Duras Tomáš

Source code