#829 Added a comment on link to color info

This commit is contained in:
Jacob Støren 2016-09-09 09:57:38 +02:00
parent 0a523a252a
commit c360040213

View File

@ -344,6 +344,7 @@ void RimLegendConfig::updateLegend()
{
// Based on http://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors
// and Kelly Colors and sorted by hue
// See also http://www.w3schools.com/colors/ for palettes etc.
legendColors.reserve(20);
legendColors.add(cvf::Color3ub(127, 24, 13)); // hwb( 6, 5%, 50%) strong_reddish_brown
legendColors.add(cvf::Color3ub(241, 58, 19)); // hwb( 11, 7%, 5%) vivid_reddish_orange