While the hype of #thedress is deservedly over, my paper on this will appear soon in “Der Ophthalmologe”, prompting me to a renewed attempt at colour sampling of its #colors . Outcome is the attached figure. You can see more here
and the full stand-alone R code to produce this figure here
Initially I had programmed the colour space conversions with my own RGB→XYZ matrix in a loop. Finding, finally, by chance the built-in "convertColor" function and converting everything to vector operation speeded up the processing by about a factor of 100.
Looking forward to corrections to my R code!