from IPython.core.display import Image
Image(filename="resources/images/Colour_Logo_Medium_001.png")
Colour is a Python colour science package implementing a comprehensive number of colour theory transformations and algorithms.
from colour.plotting import *
colour_style();
plot_visible_spectrum();
This notebook is a companion guide and usage showcase. Most of the public API is available from the root colour
namespace:
import colour
print(colour.__all__[:20] + ["..."])
['domain_range_scale', 'get_domain_range_scale', 'set_domain_range_scale', 'CHROMATIC_ADAPTATION_METHODS', 'CHROMATIC_ADAPTATION_TRANSFORMS', 'CMCCAT2000_VIEWING_CONDITIONS', 'chromatic_adaptation', 'CubicSplineInterpolator', 'Extrapolator', 'KernelInterpolator', 'NearestNeighbourInterpolator', 'LinearInterpolator', 'NullInterpolator', 'PchipInterpolator', 'SpragueInterpolator', 'TABLE_INTERPOLATION_METHODS', 'kernel_cardinal_spline', 'kernel_lanczos', 'kernel_linear', 'kernel_nearest_neighbour', '...']
The notebook has been divided in different chapters dedicated to showcase the API: