How to get brighter colors in a colormap?
13 views (last 30 days)
Show older comments
Hi, I would like to change the three colors in the bluewhitered colormap, i.e. red, white and blue into fuchsia, silver and emerald green:
rgb('fuchsia','silver','emerald green')
bottom = [0 0 0.5]; % blue
botmiddle = [0 0.5 1];
middle = [1 1 1]; % white
topmiddle = [1 0 0];
top = [0.5 0 0]; % red
into:
bottom = [0.929411764705882 0.0509803921568627 0.850980392156863]; % fuchsia
botmiddle = ?
middle = [0.772549019607843 0.788235294117647 0.780392156862745]; % silver
topmiddle = ?
top = [0.00784313725490196 0.56078431372549 0.117647058823529]; % emerald green
but how can I change the brighter ones?, i.e.:
botmiddle = ?
topmiddle = ?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Red in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!