Module piston_window::color
source · Expand description
Helper methods for colors
Constants
Functions
Returns a semi-transparent white color
Converts gamma (brightness) of a color from linear color space to sRGB.
Converts gamma (brightness) from sRGB to linear color space.
Returns a grey color
Converts from hexadecimal color format