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.
Philip Yip (2021). colorpalette (https://www.mathworks.com/matlabcentral/fileexchange/68969-colorpalette), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.