Closed
Description
Description
A new option was introduced in #36302 called html
which validates if the color respects HTML rules about hexadecimal colors. This takes into account colors like #FFFFFF
or #06CD8E
.
However, it is very common to find colors formatted like the following example: #FFF
. But this format isn't valid in the ColorType
. Perhaps, it will be nice to have the support of this format.
Moreover, there is another format, less popular, which takes into account the alpha channel: #FFFFFFDD
but I don't know if it is worth to support it.