From murdoch.duncan at gmail.com  Sun Jul 12 22:32:03 2015
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Sun, 12 Jul 2015 16:32:03 -0400
Subject: [Rd] Why no support for 3-digit HEX colours?
In-Reply-To: <CA+j8Z+kzF+11Xv8_aJrHv457nCJyzBHG9CUfo52G3vYNCaxpLQ@mail.gmail.com>
References: <CA+j8Z+kzF+11Xv8_aJrHv457nCJyzBHG9CUfo52G3vYNCaxpLQ@mail.gmail.com>
Message-ID: <55A2CEC3.6000308@gmail.com>

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



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