Using rgb(x,y,z) color for icon_color #507
-
More context here: https://community.home-assistant.io/t/using-rgb-x-y-z-color-for-icon-color/422775/12 Is it possible to use rgb values to set the icon color in Mushroom cards (e.g. Template Card)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I currently came across a situation I would like this ability as well. |
Beta Was this translation helpful? Give feedback.
-
Hi 👋 |
Beta Was this translation helpful? Give feedback.
-
Based on what piitaya said, I was able to do a better search on Google and found this way of getting the values converted:
This works better with the I have no clue how this works, but it does and that's good enough for me lol |
Beta Was this translation helpful? Give feedback.
Hi 👋
RGB color format is not available yet. May be it can be added but that's not the priority because it's a very advanced usage (user needs to manipulate RGB value formula inside template 🤯).
For now, as a workaround, you can convert it to the hexa format like I suggested it in this issue. It works well 🙂