﻿fdtdx.colors.Color
==================

.. currentmodule:: fdtdx.colors

.. autoclass:: Color
   :show-inheritance:

Quick Reference
---------------



.. rubric:: Attributes





* :attr:`~Color.b`



* :attr:`~Color.g`



* :attr:`~Color.r`






.. rubric:: Methods





* :attr:`~Color.aset`



* :attr:`~Color.from_hex`



* :attr:`~Color.from_rgb`



* :attr:`~Color.get_class_fields`



* :attr:`~Color.get_public_fields`



* :attr:`~Color.to_hex`



* :attr:`~Color.to_mpl`



* :attr:`~Color.to_rgb_255`



* :attr:`~Color.to_rgb_normalized`







Attributes
==========





.. autoattribute:: Color.b



.. autoattribute:: Color.g



.. autoattribute:: Color.r








Methods
==========








.. automethod:: Color.aset





.. automethod:: Color.from_hex





.. automethod:: Color.from_rgb





.. automethod:: Color.get_class_fields





.. automethod:: Color.get_public_fields





.. automethod:: Color.to_hex





.. automethod:: Color.to_mpl





.. automethod:: Color.to_rgb_255





.. automethod:: Color.to_rgb_normalized






If you find any errors in the documentation, please report them in the `Github Issues <https://github.com/ymahlau/fdtdx/issues>`_!