diff --git a/doc/api/colors_api.rst b/doc/api/colors_api.rst index 970986ff4438..7ed2436d6661 100644 --- a/doc/api/colors_api.rst +++ b/doc/api/colors_api.rst @@ -71,3 +71,17 @@ Functions same_color get_named_colors_mapping make_norm_from_scale + +Exported colors +--------------- + +The data used to populate the :doc:`/gallery/color/named_colors` are exposed +as dictionaries that map color names to hex strings. + +.. py:data:: BASE_COLORS + +.. py:data:: TABLEAU_COLORS + +.. py:data:: CSS4_COLORS + +.. py:data:: XKCD_COLORS