style
0.2.0
In style::
color::
convert
Structs
A98Rgb
DisplayP3
Hsl
Hwb
Lab
Lch
Oklab
Oklch
ProphotoRgb
Rec2020
Srgb
SrgbLinear
XyzD50
XyzD65
Enums
WhitePoint
Traits
ColorSpaceConversion
Functions
convert_white_point
epsilon_for_range
from_xyz
hsl_to_rgb
hwb_to_rgb
normalize_hue
orthogonal_to_polar
polar_to_orthogonal
rgb_to_hsl
rgb_to_hue_min_max
rgb_to_hwb
to_xyz
transform
xyz_d50_to_xyz_d65
xyz_d65_to_xyz_d50
Type Aliases
Transform
Vector
style
::
color
::
convert
Function
normalize_hue
Copy item path
Settings
Help
Summary
Source
pub fn normalize_hue(hue:
f32
) ->
f32
Expand description
Normalize hue into [0, 360).