Open aspauldingcode opened 1 month ago
I found this https://discourse.nixos.org/t/convert-hexadecimal-color-triplet-to-decimal/31633/2
and I'm not sure what to do with it.
I also found this https://github.com/Misterio77/nix-colors/blob/main/lib/core/tests/conversions.nix
and https://github.com/Misterio77/nix-colors/blob/main/lib/core/conversions.nix
in the code idk what it is or how to use it...
How can I do what I'm trying to do?
I am expecting the hex to decimal to format as the following string:
"1.0 0.5 1.0 Other";
As r, g, b, "Other" string values.
so that I can basically do an
r g b
ranging from0.0
to1.0
custom color for macOS accent using nix darwin macos defaults configuration.