Creates a new HWB color object with the specified components.
This is the primary factory function for creating HWB colors in the library. The created object includes methods for conversion to other color spaces and string representations.
The hue component (0-360 degrees)
The whiteness component (0-1)
The blackness component (0-1)
Optional
The alpha (opacity) component (0-1), optional
A new HWB color object
Creates a new HWB color object with the specified components.
This is the primary factory function for creating HWB colors in the library. The created object includes methods for conversion to other color spaces and string representations.