User:Inductiveload/Gallery/MATLAB Jet Colours
Jump to navigation
Jump to search
I find the standard Matlab jet colours to be a very good shading function. They are defined as a linear ramp function between the following:
- "#00007F", "blue", "#007FFF", "cyan", "#7FFF7F", "yellow", "#FF7F00", "red", "#7F0000"
I have computed these for 25, 40 and 80 steps, so they can be used in things like Inkscape palette files, etc. There is a video on youtube explaining how to do that.
They are given in RGB triplets.
25 Steps
[edit]0 0 127 0 0 169 0 0 212 0 0 255 0 42 255 0 84 255 0 127 255 0 169 255 0 212 255 0 255 255 42 255 213 84 255 170 127 255 127 169 255 85 212 255 43 255 255 0 255 213 0 255 170 0 255 127 0 255 85 0 255 43 0 255 0 0 213 0 0 170 0 0 127 0 0
40 Steps
[edit]0 0 127 0 0 152 0 0 178 0 0 203 0 0 229 0 0 255 0 25 255 0 50 255 0 76 255 0 101 255 0 127 255 0 152 255 0 178 255 0 203 255 0 229 255 0 255 255 25 255 230 50 255 204 76 255 179 101 255 153 127 255 127 152 255 102 178 255 77 203 255 51 229 255 26 255 255 0 255 230 0 255 204 0 255 179 0 255 153 0 255 127 0 255 102 0 255 77 0 255 51 0 255 26 0 255 0 0 230 0 0 204 0 0 179 0 0 153 0 0 127 0 0
80 Steps
[edit]0 0 127 0 0 139 0 0 152 0 0 165 0 0 178 0 0 191 0 0 203 0 0 216 0 0 229 0 0 242 0 0 255 0 12 255 0 25 255 0 38 255 0 50 255 0 63 255 0 76 255 0 88 255 0 101 255 0 114 255 0 127 255 0 139 255 0 152 255 0 165 255 0 178 255 0 191 255 0 203 255 0 216 255 0 229 255 0 242 255 0 255 255 12 255 243 25 255 230 38 255 217 50 255 204 63 255 191 76 255 179 88 255 166 101 255 153 114 255 140 127 255 127 139 255 115 152 255 102 165 255 89 178 255 77 191 255 64 203 255 51 216 255 39 229 255 26 242 255 13 255 255 0 255 243 0 255 230 0 255 217 0 255 204 0 255 191 0 255 179 0 255 166 0 255 153 0 255 140 0 255 127 0 255 115 0 255 102 0 255 89 0 255 77 0 255 64 0 255 51 0 255 39 0 255 26 0 255 13 0 255 0 0 243 0 0 230 0 0 217 0 0 204 0 0 191 0 0 179 0 0 166 0 0 153 0 0 140 0 0 127 0 0