File Exchange

image thumbnail


version 1.0.0 (5.64 KB) by Philip Yip
sets rgb values to variable names of common colors


Updated 29 Sep 2018

View License

This sets rgb values using the names of common colors as the variable name. This set contains:
20 shades or white
20 shades of tan
20 shades of yellow
20 shades of orange
20 shades of red
20 shades of pink
20 purple shades
20 blue shades
20 green shades
20 brown shades
20 grey shades
20 black shades
To visualise the colors one can optionally plot a pie chart containing each shade. These pi charts can be viewed as 12 seperate plots or collectively in a single plot.

Cite As

Philip Yip (2021). colorpalette (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Dean Ranmar


MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!