Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gka committed Dec 16, 2017
1 parent 863f64a commit 16b2fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ <h4 id="-mode-">(mode)</h4>
chroma.scale([&#39;yellow&#39;, &#39;navy&#39;]).mode(&#39;hsl&#39;);
chroma.scale([&#39;yellow&#39;, &#39;navy&#39;]).mode(&#39;lch&#39;);
</code></pre>
<p>As of version TK, chroma.js supports <a href="https://www.youtube.com/watch?v=LKnqECcg6Gw">linear RGB interpolation</a>, which produces results a lot better than RGB, and is easier to compute than Lab.</p>
<p>As of version 1.3.5, chroma.js supports <a href="https://www.youtube.com/watch?v=LKnqECcg6Gw">linear RGB interpolation</a>, which produces results a lot better than RGB, and is easier to compute than Lab.</p>
<pre><code class="lang-js">chroma.scale([&#39;#f00&#39;, &#39;#0f0&#39;]).mode(&#39;rgb&#39;);
chroma.scale([&#39;#f00&#39;, &#39;#0f0&#39;]).mode(&#39;lrgb&#39;);
chroma.scale([&#39;#f00&#39;, &#39;#0f0&#39;]).mode(&#39;lab&#39;);
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ chroma.scale(['yellow', 'navy']).mode('hsl');
chroma.scale(['yellow', 'navy']).mode('lch');
```

As of version TK, chroma.js supports [linear RGB interpolation](https://www.youtube.com/watch?v=LKnqECcg6Gw), which produces results a lot better than RGB, and is easier to compute than Lab.
As of version 1.3.5, chroma.js supports [linear RGB interpolation](https://www.youtube.com/watch?v=LKnqECcg6Gw), which produces results a lot better than RGB, and is easier to compute than Lab.

```js
chroma.scale(['#f00', '#0f0']).mode('rgb');
Expand Down

0 comments on commit 16b2fac

Please sign in to comment.