cosmic
0.1.0
In cosmic::
cosmic_
theme::
steps
Functions
color_index
get_index
get_surface_color
get_text
is_valid_srgb
oklch_to_srgba_nearest_chroma
steps
cosmic
::
cosmic_theme
::
steps
Function
is_valid_srgb
Copy item path
Settings
Help
Summary
source
pub fn is_valid_srgb(c:
Alpha
<
Rgb
,
f32
>) ->
bool
Expand description
checks that the color is valid srgb