[Rd] Why no support for 3-digit HEX colours?

Duncan Murdoch murdoch.duncan at gmail.com
Sun Jul 12 22:32:03 CEST 2015


On 12/07/2015 3:51 PM, Dean Attali wrote:
> When specifying an RGB colour in R, is there a strong reason not to accept
> 3-character HEX codes? In CSS and many other languages, a colour of "#ABC"
> is automatically converted to "#AABBCC", and I was wondering if R could
> support that as well, or if it was a conscious decision to not support it.

This is on the wish list.  See

https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16426

Duncan Murdoch



More information about the R-devel mailing list