[][src]Function colorskill::color_to_string

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

Converts an RGB tuple into a comma separated string.

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

Example

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