As part of my color Multi-tool project, I do this kind of thing. I’m guessing that there are better ways, but I’m not sure it’s worth the trouble to try.
Any opinions?
This is a custom jinja template, and this is the output. However because it exports as a string I thought the format would be OK, didn’t really need to make it a list here. I am leaving instructions for the user to make this a list on the user end.
{%- set R = (range(255)|random) | int(0) -%}
{%- set G = (range(255)|random) | int(0) -%}
{%- set B = (range(255)|random) | int(0) -%}
{{- R -}},{{- G -}},{{- B -}}