Skip to content

Commit

Permalink
Updating GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
peteroupc committed May 23, 2024
1 parent e113cbd commit 0a80764
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
9 changes: 6 additions & 3 deletions colorgen.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html xmlns:dc="http://purl.org/dc/terms/" itemscope itemtype="http://schema.org/Article"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name="citation_pdf_url" content="https://peteroupc.github.io/colorgen.pdf"><meta name="citation_url" content="https://peteroupc.github.io/colorgen.html"><meta name="citation_date" content="2024/05/22"><meta name="citation_online_date" content="2024/05/22"><meta name="og:type" content="article"><meta name="og:url" content="https://peteroupc.github.io/colorgen.html"><meta name="og:site_name" content="peteroupc.github.io"><meta name="author" content="Peter Occil"/><meta name="citation_author" content="Peter Occil"/><meta name="viewport" content="width=device-width"><link rel=stylesheet type="text/css" href="/style.css">
<!DOCTYPE html><html xmlns:dc="http://purl.org/dc/terms/" itemscope itemtype="http://schema.org/Article"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name="citation_pdf_url" content="https://peteroupc.github.io/colorgen.pdf"><meta name="citation_url" content="https://peteroupc.github.io/colorgen.html"><meta name="citation_date" content="2024/05/23"><meta name="citation_online_date" content="2024/05/23"><meta name="og:type" content="article"><meta name="og:url" content="https://peteroupc.github.io/colorgen.html"><meta name="og:site_name" content="peteroupc.github.io"><meta name="author" content="Peter Occil"/><meta name="citation_author" content="Peter Occil"/><meta name="viewport" content="width=device-width"><link rel=stylesheet type="text/css" href="/style.css">
<script type="text/x-mathjax-config"> MathJax.Hub.Config({"HTML-CSS": { availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, preferredFont: "TeX" },
tex2jax: { displayMath: [ ["$$","$$"], ["\\[", "\\]"] ], inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"] ], processEscapes: true } });
</script><script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML-full"></script></head><body> <div class="header">
Expand Down Expand Up @@ -214,7 +214,7 @@ <h2 id="specifying-colors">Specifying Colors</h2>
<p>A color can be specified in one of two ways:</p>

<ul>
<li><strong>As a point in space</strong>, that is, as a small set of numbers (usually three numbers) showing where the color lies in a color space. This is what mostly happens in practice. Some color spaces include the following:
<li><strong>As a point in space</strong>, that is, as a small set of numbers (usually three numbers) showing where the color lies in a color space. This is the usual practice. Some color spaces include the following:
<ul>
<li><a href="#RGB_Color_Model"><strong>RGB</strong></a> color spaces describe proportions of “red”, “green”, and “blue” dots of light.</li>
<li><a href="#HSV"><strong>HSV</strong></a>, <a href="#HSL"><strong>HSL</strong></a>, and <a href="#HWB"><strong>HWB</strong></a> color spaces transform RGB colors to make their presentation more intuitive, but are not perception-based.</li>
Expand Down Expand Up @@ -2012,7 +2012,7 @@ <h2 id="conclusion">Conclusion</h2>

<ul>
<li>A method for performing color calibration and color matching using a smartphone’s camera and, possibly, a color calibration card or white balance card.</li>
<li>A method to convert two RGB colors into an RGB color that closely matches how the mixture of two pigments of the input colors would appear on paper. (Mixbox appears to satisfy this, but the <a href="https://github.com/scrtwpns/mixbox"><strong>repository’s source code</strong></a> is under a noncommercial license; whether the algorithm itself is so is uncertain.)</li>
<li>A method to convert two RGB colors into an RGB color that closely matches how the mixture of two pigments of the input colors would appear on paper.<sup id="fnref:47" role="doc-noteref"><a href="#fn:47" class="footnote" rel="footnote">47</a></sup></li>
<li>A method to match a desired color on paper given spectral reflectance curves of the paper and of the inks being used in various concentrations.</li>
</ul>

Expand Down Expand Up @@ -2170,6 +2170,9 @@ <h2 id="license">License</h2>
<li id="fn:46" role="doc-endnote">
<p>Walowit, E. “Spectrophotometric color formulation based on two-constant Kubelka-Munk theory”. Thesis, Rochester Institute of Technology, 1985. <a href="#fnref:46" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
</li>
<li id="fn:47" role="doc-endnote">
<p>Mixbox appears to satisfy this, but the <a href="https://github.com/scrtwpns/mixbox"><strong>repository’s source code</strong></a> is under a noncommercial license; whether the algorithm itself is so is uncertain. <a href="#fnref:47" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
</li>
</ol>
</div>
</div><nav id="navigation"><ul>
Expand Down
6 changes: 4 additions & 2 deletions colorgen.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ In addition to humans, many other animals possess color vision to a greater or l

A color can be specified in one of two ways:

* **As a point in space**, that is, as a small set of numbers (usually three numbers) showing where the color lies in a color space. This is what mostly happens in practice. Some color spaces include the following:
* **As a point in space**, that is, as a small set of numbers (usually three numbers) showing where the color lies in a color space. This is the usual practice. Some color spaces include the following:
- [**RGB**](#RGB_Color_Model) color spaces describe proportions of "red", "green", and "blue" dots of light.
- [**HSV**](#HSV), [**HSL**](#HSL), and [**HWB**](#HWB) color spaces transform RGB colors to make their presentation more intuitive, but are not perception-based.
- [**XYZ**](#CIE_XYZ), [**CIELAB**](#CIELAB), and [**CIELUV**](#CIELUV) color spaces are based on human color perception.
Expand Down Expand Up @@ -1741,7 +1741,7 @@ The following topics may be added in the future based on reader interest:
Descriptions on the following methods would greatly enhance this document, as long as the methods are not covered by any active patents or pending patent applications and can be implemented by public-domain source code (usable for any purpose):

- A method for performing color calibration and color matching using a smartphone's camera and, possibly, a color calibration card or white balance card.
- A method to convert two RGB colors into an RGB color that closely matches how the mixture of two pigments of the input colors would appear on paper. (Mixbox appears to satisfy this, but the [**repository's source code**](https://github.com/scrtwpns/mixbox) is under a noncommercial license; whether the algorithm itself is so is uncertain.)
- A method to convert two RGB colors into an RGB color that closely matches how the mixture of two pigments of the input colors would appear on paper.[^47]
- A method to match a desired color on paper given spectral reflectance curves of the paper and of the inks being used in various concentrations.

<a id=Notes></a>
Expand Down Expand Up @@ -1845,6 +1845,8 @@ where `FUNC` is an arbitrary function of one or more variables) can be done to a

[^46]: Walowit, E. "Spectrophotometric color formulation based on two-constant Kubelka-Munk theory". Thesis, Rochester Institute of Technology, 1985.

[^47]: Mixbox appears to satisfy this, but the [**repository's source code**](https://github.com/scrtwpns/mixbox) is under a noncommercial license; whether the algorithm itself is so is uncertain.

<a id=License></a>

## License
Expand Down
Binary file modified colorutil.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<url><loc>https://peteroupc.github.io/moore.py</loc><lastmod>2024-03-29T03:04:43Z</lastmod></url>
<url><loc>https://peteroupc.github.io/keaneobrien.py</loc><lastmod>2024-03-29T03:04:43Z</lastmod></url>
<url><loc>https://peteroupc.github.io/fixed.py</loc><lastmod>2024-03-29T03:04:44Z</lastmod></url>
<url><loc>https://peteroupc.github.io/colorgen.html</loc><lastmod>2024-05-23T00:27:33Z</lastmod></url>
<url><loc>https://peteroupc.github.io/colorgen.html</loc><lastmod>2024-05-23T07:47:21Z</lastmod></url>
<url><loc>https://peteroupc.github.io/exporand.html</loc><lastmod>2024-04-27T05:23:13Z</lastmod></url>
<url><loc>https://peteroupc.github.io/pcaspd.py</loc><lastmod>2024-03-29T03:04:44Z</lastmod></url>
<url><loc>https://peteroupc.github.io/randextract.html</loc><lastmod>2024-04-27T05:23:13Z</lastmod></url>
Expand Down Expand Up @@ -604,7 +604,7 @@
<url><loc>https://peteroupc.github.io/usage.html</loc><lastmod>2024-05-20T01:52:17Z</lastmod></url>
<url><loc>https://peteroupc.github.io/desktopwallpaper.py</loc><lastmod>2024-05-21T09:11:50Z</lastmod></url>
<url><loc>https://peteroupc.github.io/graphics.html</loc><lastmod>2024-05-22T09:37:13Z</lastmod></url>
<url><loc>https://peteroupc.github.io/randomgen.zip</loc><lastmod>2024-05-23T00:32:56Z</lastmod></url>
<url><loc>https://peteroupc.github.io/colorutil.zip</loc><lastmod>2024-05-23T00:32:56Z</lastmod></url>
<url><loc>https://peteroupc.github.io/randomgen.zip</loc><lastmod>2024-05-23T07:47:42Z</lastmod></url>
<url><loc>https://peteroupc.github.io/colorutil.zip</loc><lastmod>2024-05-23T07:47:42Z</lastmod></url>
<url><loc>https://peteroupc.github.io/bernoulli.zip</loc><lastmod>2024-03-29T03:04:59Z</lastmod></url>
</urlset>

0 comments on commit 0a80764

Please sign in to comment.