iwanthue icon indicating copy to clipboard operation
iwanthue copied to clipboard

RGB as percentage

Open JacobHughes opened this issue 8 years ago • 0 comments

A lot of the scientists who I work with use MATLAB to plot data, I was wondering if it was worthwhile to include an output of the colours for MATLAB?

MATLAB colours are RGB and range from 0-1, you can easily convert from the RGB json values by dividing each by 255.

To make a cell array from this for MATLAB you would write something like: { [1,1,0] , [0,0.5,0.5], [0.5,0.75,0.1] }

Since there is space available on the webpage, it seems like an easy output to generate to reach a wider audience?

JacobHughes avatar Sep 13 '16 02:09 JacobHughes