[][src]Function colorskill::color_to_string_2

pub fn color_to_string_2(c: (u8, u8, u8)) -> String

Converts an RGB tuple into a comma separated string with spaces after commas.

(0, 0, 0) -> "0, 0, 0"

Example

use colorskill::color_to_string_2;
let cs = color_to_string_2((100, 143, 49));