diff --git a/includes/type/color.pat b/includes/type/color.pat index b2cebf7..42a939f 100644 --- a/includes/type/color.pat +++ b/includes/type/color.pat @@ -21,7 +21,7 @@ namespace auto type { g : G; b : B; if (A > 0) a : A; - } [[sealed, format("type::impl::format_color"), color(std::format("{0:02X}{1:02X}{2:02X}FF", r, g, b))]]; + } [[sealed, format("type::impl::format_color"), color(std::format("{0:02X}{1:02X}{2:02X}", r, g, b))]]; /** Type representing a generic RGB color with a variable number of bits for each color @@ -77,4 +77,4 @@ namespace auto type { } -} \ No newline at end of file +}