I have a code:
<p color: rgb(23, 156, 97); font-size: 18px; font-weight: bold;">Hello word!</p>
But I see it doesn't support RGB color style.
Please help me. Thanks
Yes, this package only supports hex values for now, from the README:
color: hex values only (#F00, #0F08, #00FF00 or #00FF0080)
I do plan to expand to support rgb, rgba, etc. though.
Yes, this package only supports hex values for now, from the README:
color: hex values only (#F00, #0F08, #00FF00 or #00FF0080)
I do plan to expand to support rgb, rgba, etc. though.
I understood, thank you so much.
also need this feature, please support color name,eg: body{ background-color:red};
also need this feature, please support color name
Yes, this is planned.
v0.4.1 has been released with support for rgb / rgba @leewonghao. This version also includes support for named colors (e.g. red) @starup. Please try upgrading and let me know if it works for you guys.
Thanks @daohoangson ! After update v0.4.1 it was worked fine :).
Awesome, I'm closing this issue now.
Most helpful comment
v0.4.1 has been released with support for rgb / rgba @leewonghao. This version also includes support for named colors (e.g.
red) @starup. Please try upgrading and let me know if it works for you guys.