Skip to main content

neutral

Function neutral 

Source
pub fn neutral(scale: usize) -> Hsla
Expand description

Get color by scale number.

The possible scale numbers are: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950

If the scale number is not found, it will return black color.