feat: hex convertion implemented

This commit is contained in:
2025-08-14 21:48:47 +02:00
parent bc3d80cf53
commit 6c6ff8e420
5 changed files with 58 additions and 1 deletions

View File

@@ -20,6 +20,6 @@ fn main() {
let hsl_color = Color::from(HSL::new(0, 100, 50));
// let rgb_color = Color::from(HSL::new(193, 67, 28));
println!("HSL Color: {}", hsl_color.format());
println!("RGB Color: {:X}", hsl_color);
// println!("RGB Color: {}", rgb_color.format());
}