Skip to main content
format_hex
shuyi_
assets
0.1.0
In shuyi_
assets::
palette
shuyi_assets
::
palette
Function
format_
hex
Copy item path
Source
pub fn format_hex([r, g, b]: [
u8
;
3
]) ->
String
Expand description
Formats RGB as lowercase
#rrggbb
.