Displaying the selected colors is a visual added value.
However, I wonder how I can use this with existing colors that are already predefined in CSS classes?
Correct, I don’t need the color picker if the colors have already been defined in the CSS file. (I‘ve just added this to the code of my question.)
The reverse search fits well with my thoughts. However, I lack the know-how as I have never used this case in practice. Is there a solution approach here in the forum or in the cookbook that I can use? For lack of a suitable search term, I have not found anything.