Function parse_color

Source
pub fn parse_color<S: AsRef<str>>(color: S) -> Option<Color>
Expand description
  • Named: eg. slateblue
  • #fff
  • #ff0011
  • rgba(255, 128, 12, 0.5)