The
BBj Color Converter demo provides a graphical
front-end to the new
Colors.bbj utility class that's installed in the
/utils/ directory.
The program lets you define a color in RGB, HEX, HSL, or HSB format using edit boxes for the component values or sliders to
adjust the component values within the applicable range. It automatically converts the defined color into all the supported
color formats and displays the color in eight different output formats (the original four plus versions defining the alpha transparency value).
Clicking on one of the color output formats clicks on one of the output formats copies the color definition into the your clipboard.
The app also uses the
BBMig Layout Manager
to size and position the controls on the window. The window's width is defined to be narrow, but will expand to fit the width of the
browser's client area when it's relatively narrow, such as when it's running on a mobile smartphone.
The demo's
ReadMe contains more information about the program