4
$\begingroup$

The documentation for ColorData reads:

Possible properties in ColorData["scheme","property"] include:

"ColorFunction" "ColorList" "ColorRules" "Image" "Name" "Panel" "ParameterCount" "Range" {"Range",i} 

Are there any others?

$\endgroup$

1 Answer 1

8
$\begingroup$

Evaluating ColorData["Properties"] in 10.0.2 returns:

{"AlternateNames", "ColorFunction", "ColorList", "ColorRules", "Image", "Name", "Panel", "ParameterCount", "Range", "StandardName"} 

This however is also incomplete. Some spelunking reveals that there are more. Here is a complete list from the function definition itself:

"StandardName" "Name" "AlternateNames" "PrivateStandardNames" "ColorFunction" "ColorList" {"ColorList", "Sorted"} "ColorRules" {"ColorRules", "Sorted"} "Range" {"Range", _Integer?Positive} "ParameterCount" "Image" "Panel" "ColorNames" {"ColorNames", "Sorted"} "BlendArgument" "PrivateNote" 
$\endgroup$
3
  • 2
    $\begingroup$ I think it would be good to mention that a user can get most of these by evaluating ColorData["Properties"], which produces {"AlternateNames", "ColorFunction", "ColorList", "ColorRules", "Image", "Name", "Panel", "ParameterCount", "Range", "StandardName"}. In general, evaluating someData["Properties"] usually produces useful info about someData`. $\endgroup$ Commented Mar 6, 2015 at 9:32
  • $\begingroup$ @m_goldberg That's a good point, but as that data is now known to be incomplete I was uncertain of the value of mentioning it. $\endgroup$ Commented Mar 6, 2015 at 9:34
  • 2
    $\begingroup$ Nice. {ColorData[#, "AlternateNames"] // First, ColorData[#, "Panel"]} & /@ ColorData["Indexed"] // Grid $\endgroup$ Commented Mar 6, 2015 at 15:07

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.