Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions manim/utils/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ class Colors(Enum):

.. code-block:: python

import manim.utils.color as C
C.WHITE # -> '#FFFFFF'
>>> import manim.utils.color as C
>>> C.WHITE
'#FFFFFF'

Note this way uses the name of the colors in UPPERCASE.

Expand All @@ -115,8 +116,9 @@ class Colors(Enum):

.. code-block:: python

from manim.utils.color import Colors
Colors.white.value # -> '#FFFFFF'
>>> from manim.utils.color import Colors
>>> Colors.white.value
'#FFFFFF'

"""

Expand Down