fn parse_color_string(color: &str) -> Result<(u16, u16, u16)> {
    Ok((
        u16::from_str_radix(&color[1..3], 16)? * 256,
        u16::from_str_radix(&color[3..5], 16)? * 256,
        u16::from_str_radix(&color[5..7], 16)? * 256,
    ))
}
Parses a color string written in the hex format #RRGGBB to a tuple of u16.
Since colors in hex format are represented using 8 bits, we need to adjust them to represent
the right proportion of color on a 16 bits value by multiplying by 256
display-servers/x11rb-display-server/src/xwrap/getters.rs