PageSourceSearch

https://www.colour-science.org/colour/

html colour-science.org collected 2026-10-02 04:21:19 UTC 14,515 bytes, 241 lines download raw bytes

1<!DOCTYPE html>
2<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#
3" lang="en">
4<head>
5<meta charset="utf-8">
6<meta name="viewport" content="width=device-width, initial-scale=1">
7<title>Colour | Colour Science</title>
8<link href="../assets/css/colour-science.css" rel="stylesheet" type="text/css">
9<link href="../assets/css/baguetteBox.min.css" rel="stylesheet" type="text/css">
10<link href="../assets/css/rst.css" rel="stylesheet" type="text/css">
11<link href="../assets/css/code.css" rel="stylesheet" type="text/css">
12<link href="../assets/css/theme.css" rel="stylesheet" type="text/css">
13<link href="../assets/css/ipython.min.css" rel="stylesheet" type="text/css">
14<link href="../assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
15<meta name="theme-color" content="#191919">
16<meta name="generator" content="Nikola (getnikola.com)">
17<link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml">
18<link rel="canonical" href="https://www.colour-science.org/colour/">
19<script type="text/x-mathjax-config">
20MathJax.Hub.Config({
21    tex2jax: {
22        inlineMath: [ ['$','$'], ["\\(","\\)"] ],
23        displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
24        processEscapes: true
25    },
26    displayAlign: 'center', // Change this to 'left' if you want left-aligned equations.
27    "HTML-CSS": {
28        styles: {'.MathJax_Display': {"margin": 0}}
29    }
30});
31</script>
31<!--[if lt IE 9]>
31<script src="../assets/js/html5.js"></script>
31<![endif]-->
31<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous">
32</script>
32<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.7.1/css/all.css" integrity="sha384-QI8z31KmtR+tk1MYi0DfgxrjYgpTpLLol3bqZA/Q1Y8BvH+6k7/Huoj38gQOaCS7" crossorigin="anonymous">
33<meta name="google-site-verification" content="CeWflIcbu-x7Ur7qbzTYJiRFvoGF5RljJyGZMg7H9co">
34<meta name="author" content="Colour Developers">
35<meta property="og:site_name" content="Colour Science">
36<meta property="og:title" content="Colour">
37<meta property="og:url" content="https://www.colour-science.org/colour/">
38<meta property="og:description" content="Colour is an open-source
39Python package providing a comprehensive number of
40algorithms and datasets for colour science.
41It is freely available under the
42BSD-3-Clause terms.
43Colour is an affiliated pro">
44<meta property="og:type" content="article">
45<meta property="article:published_time" content="2020-04-21T10:48:26+01:00">
46<meta property="article:tag" content="colour">
47<meta property="article:tag" content="colour science">
48<meta property="article:tag" content="python">
49</head>
50<body>
51<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
52
53<!-- Menubar -->
54
55<nav class="navbar navbar-expand-xl static-top
56navbar-dark bg-dark bg-primary
57"><div class="container">
58<!-- This keeps the margins nice -->
59        <a class="navbar-brand" href="https://www.colour-science.org/">
60
61            <span id="blog-title">Colour Science</span>
62        </a>
63        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#bs-navbar" aria-controls="bs-navbar" aria-expanded="false" aria-label="Toggle navigation">
64            <span class="navbar-toggler-icon"></span>
65        </button>
66
67        <div class="collapse navbar-collapse" id="bs-navbar">
68            <ul class="navbar-nav mr-auto">
69<li class="nav-item dropdown">
70<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Projects</a>
71            <div class="dropdown-menu">
72                    <a href="../apps" class="dropdown-item"><span class="font-weight-bold">Apps (Colour - Dash)</span></a>
73                    <a href="http://awesome-colour.org/" class="dropdown-item"><span class="font-weight-bold">Awesome Colour</span></a>
74                    <a href="../colour" class="dropdown-item"><span class="font-weight-bold">Colour</span></a>
75                    <a href="../colour-datasets" class="dropdown-item"><span class="font-weight-bold">Colour - Datasets</span></a>
76                    <a href="../colour-demosaicing" class="dropdown-item"><span class="font-weight-bold">Colour - Demosaicing</span></a>
77                    <a href="../colour-hdri" class="dropdown-item"><span class="font-weight-bold">Colour - HDRI</span></a>
78                    <a href="../colour-checker-detection" class="dropdown-item"><span class="font-weight-bold">Colour - Checker Detection</span></a>
79                    <a href="../colour-visuals" class="dropdown-item"><span class="font-weight-bold">Colour - Visuals</span></a>
80                    <a href="../colour-maya" class="dropdown-item"><span class="font-weight-normal">Colour - Maya</span></a>
81                    <a href="../colour-nuke" class="dropdown-item"><span class="font-weight-normal">Colour - Nuke</span></a>
82                    <a href="../colour-playground" class="dropdown-item"><span class="font-weight-normal">Colour - Playground</span></a>
83                    <a href="../colour-spectroscope" class="dropdown-item"><span class="font-weight-normal">Colour - Spectroscope</span></a>
84                    <a href="../experiments" class="dropdown-item"><span class="font-weight-normal">Experiments</span></a>
85            </div>
86            </li>
87<li class="nav-item dropdown">
88<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
89            <div class="dropdown-menu">
90                    <a href="../installation-guide" class="dropdown-item"><span class="font-weight-bold">Installation Guide</span></a>
91                    <a href="https://colour.readthedocs.io/en/develop/tutorial.html" class="dropdown-item"><span class="font-weight-bold">Static Tutorial</span></a>
92                    <a href="https://colab.research.google.com/notebook#fileId=1Im9J7or9qyClQCv5sPHmKdyiQbG4898K&amp;offline=true&amp;sandboxMode=true" class="dropdown-item"><span class="font-weight-bold">Interactive Tutorial</span></a>
93                    <a href="https://colab.research.google.com/notebook#fileId=1NRcdXSCshivkwoU2nieCvC3y14fx1X4X&amp;offline=true&amp;sandboxMode=true" class="dropdown-item"><span class="font-weight-bold">How-To Guide</span></a>
94                    <a href="../api-reference" class="dropdown-item"><span class="font-weight-bold">API Reference</span></a>
95                    <a href="../code-of-conduct" class="dropdown-item"><span class="font-weight-bold">Code of Conduct</span></a>
96                    <a href="../contributing" class="dropdown-item"><span class="font-weight-bold">Contributing</span></a>
97                    <a href="../contributors" class="dropdown-item"><span class="font-weight-bold">Contributors</span></a>
98                    <a href="../features" class="dropdown-item"><span class="font-weight-normal">Features</span></a>
99                    <a href="../history" class="dropdown-item"><span class="font-weight-normal">History</span></a>
100                    <a href="https://colour.readthedocs.io/en/develop/bibliography.html" class="dropdown-item"><span class="font-weight-normal">Bibliography</span></a>
101                    <a href="https://doi.org/10.5281/zenodo.17837391" class="dropdown-item"><span class="font-weight-normal">Cite Us</span></a>
102                    <a href="../cited-by" class="dropdown-item"><span class="font-weight-normal">Cited By</span></a>
103                    <a href="https://opensource.org/licenses/BSD-3-Clause" class="dropdown-item"><span class="font-weight-normal">License</span></a>
104                    <a href="../search" class="dropdown-item"><span class="font-weight-normal">Search</span></a>
105            </div>
106            </li>
107<li class="nav-item dropdown">
108<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Blog</a>
109            <div class="dropdown-menu">
110                    <a href="../blog" class="dropdown-item"><span class="font-weight-bold">Posts</span></a>
111                    <a href="../archive.html" class="dropdown-item"><span class="font-weight-normal">Archive</span></a>
112                    <a href="../categories/" class="dropdown-item"><span class="font-weight-normal">Tags</span></a>
113            </div>
114                </li>
115<li class="nav-item">
116<a href="mailto:[email protected]" class="nav-link"><i class="fa-regular fa-envelope"></i></a>
117                </li>
118<li class="nav-item">
119<a href="https://github.com/colour-science/colour" class="nav-link"><i class="fa-brands fa-github"></i></a>
120                </li>
121<li class="nav-item">
122<a href="https://www.facebook.com/python.colour.science" class="nav-link"><i class="fa-brands fa-facebook"></i></a>
123                </li>
124<li class="nav-item">
125<a href="https://gitter.im/colour-science/colour" class="nav-link"><i class="fa-brands fa-gitter"></i></a>
126                </li>
127<li class="nav-item">
128<a href="https://x.com/colour_science" class="nav-link"><i class="fa-brands fa-x-twitter"></i></a>
129                </li>
130<li class="nav-item">
131<a href="https://bsky.app/profile/colour-science.bsky.social" class="nav-link"><i class="fa-brands fa-bluesky"></i></a>
132
133                
134            </li>
135</ul>
136<ul class="navbar-nav navbar-right"></ul>
137</div>
138<!-- /.navbar-collapse -->
139    </div>
140<!-- /.container -->
141</nav><!-- End of Menubar --><!-- Main --><div class="container" id="content" role="main">
142    <div class="row">
143        <div class="col-12">
144            <div class="body-content">
145                <!--Body content-->
146                
147                
148                
149<article class="post-text storypage" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title" itemprop="headline name"><a href="." class="u-url">Colour</a></h1>
150
151        
152
153    </header><div class="e-content entry-content" itemprop="articleBody text">
154    <p><a class="reference external" href="https://github.com/colour-science/colour">Colour</a> is an open-source
155<a class="reference external" href="https://www.python.org">Python</a> package providing a comprehensive number of
156algorithms and datasets for colour science.</p>
157<p>It is freely available under the
158<a class="reference external" href="https://opensource.org/licenses/BSD-3-Clause">BSD-3-Clause</a> terms.</p>
159<p><strong>Colour</strong> is an affiliated project of <a class="reference external" href="https://numfocus.org">NumFOCUS</a>, a
160501(c)(3) nonprofit in the United States.</p>
161<section id="features"><h2>Features</h2>
162<p><strong>Colour</strong> features a rich dataset and collection of objects, please see the
163<a class="reference external" href="https://www.colour-science.org/features">features</a> page for more
164information.</p>
165<img alt="https://colour.readthedocs.io/en/develop/_static/Examples_Colour_Automatic_Conversion_Graph.png" src="https://colour.readthedocs.io/en/develop/_static/Examples_Colour_Automatic_Conversion_Graph.png"></section><section id="how-to-guide"><h2>How-To Guide</h2>
166<p>The <a class="reference external" href="https://colab.research.google.com/notebook#fileId=1NRcdXSCshivkwoU2nieCvC3y14fx1X4X&amp;offline=true&amp;sandboxMode=true">How-To</a>
167guide for <strong>Colour</strong> shows various techniques to solve specific problems and
168highlights some interesting use cases.</p>
169</section><section id="api"><h2>API</h2>
170<p>The main technical reference for <strong>Colour</strong> and its API is the
171<a class="reference external" href="https://colour.readthedocs.io/en/latest/reference.html">API Reference</a>.</p>
172</section><section id="examples"><h2>Examples</h2>
173<ul class="simple">
174<li><p><a class="reference external" href="https://colour.readthedocs.io/en/develop/#examples">Colour - Readme &amp; Documentation Examples</a></p></li>
175<li><p><a class="reference external" href="https://github.com/colour-science/colour/tree/develop/colour/examples">Colour - Example Modules</a></p></li>
176</ul></section><section id="downloads"><h2>Downloads</h2>
177<ul class="simple">
178<li><p><a class="reference external" href="https://pypi.org/project/colour-science">Colour - Pypi</a></p></li>
179<li><p><a class="reference external" href="https://github.com/colour-science/colour">Colour - Github Repository</a></p></li>
180</ul></section>
181</div>
182    
183
184</article><!--End of body content-->
185</div>
186        </div>
187    </div>
188</div>
189
190<!-- End of Main -->
191
192<!-- Footer -->
193
194<footer id="footer" class="mt-auto"><ul class="nav justify-content-center">
195<li class="nav-item mx-3">
196        <a href="mailto:[email protected]">
197            <i class="fa-regular fa-envelope text-light"></i>
198        </a>
199    </li>
200    <li class="nav-item mx-3">
201        <a href="https://github.com/colour-science/colour">
202            <i class="fa-brands fa-github text-light"></i>
203        </a>
204    </li>
205    <li class="nav-item mx-3">
206        <a href="https://www.facebook.com/python.colour.science">
207            <i class="fa-brands fa-facebook text-light"></i>
208        </a>
209    </li>
210    <li class="nav-item mx-3">
211        <a href="https://gitter.im/colour-science/colour">
212            <i class="fa-brands fa-gitter text-light"></i>
213        </a>
214    </li>
215    <li class="nav-item mx-3">
216        <a href="https://x.com/colour_science">
217            <i class="fa-brands fa-x-twitter text-light"></i>
218        </a>
219    </li>
220    <li class="nav-item mx-3">
221        <a href="https://bsky.app/profile/colour-science.bsky.social">
222            <i class="fa-brands fa-bluesky text-light"></i>
223        </a>
224    </li>
225</ul>
226<div class="text-center text-light py-3"><span>Copyright © 2013-2026 – Colour Developers</span></div>
227
228    
229</footer><!-- End of Footer -->
229<script src="../assets/js/jquery.min.js"></script>
229<script src="../assets/js/popper.min.js"></script>
229<script src="../assets/js/bootstrap.min.js"></script>
229<script src="../assets/js/baguetteBox.min.js"></script>
229<script>
230    baguetteBox.run('div#content', {
231        ignoreClass: 'islink',
232        captions: function(element) {
233            return element.getElementsByTagName('img')[0].alt;
234    }});
235    </script>
235<!-- >>> Gitter -->
235<script>
236  ((window.gitter = {}).chat = {}).options = {
237    room: 'colour-science/colour'
238  };
239</script>
239<script async src="https://sidecar.gitter.im/dist/sidecar.v1.js"></script>
239<!-- <<< Gitter --><!-- >>> Google Analytics -->
239<script async src="https://www.colour-science.org/assets/js/analytics.js"></script>
239<!-- <<< Google Analytics -->
240</body>
241</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.