Skip to content

Commit

Permalink
Specify color space
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Mar 13, 2018
1 parent 2e514f4 commit 04b1c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ export default class extends React.Component {
<a id='types-color' className='anchor'/>
<h3 className='space-bottom1'><a href='#types-color' title='link to color'>Color</a></h3>
<p>
Colors are written as JSON strings in a variety of permitted formats: HTML-style hex values, rgb, rgba, hsl, and hsla. Predefined HTML colors names, like <code>yellow</code> and <code>blue</code>, are also permitted.
The <code>color</code> type represents a color in the <a href="https://en.wikipedia.org/wiki/SRGB">sRGB color space</a>. Colors are written as JSON strings in a variety of permitted formats: HTML-style hex values, rgb, rgba, hsl, and hsla. Predefined HTML colors names, like <code>yellow</code> and <code>blue</code>, are also permitted.
</p>
{highlightJSON(`
{
Expand Down

0 comments on commit 04b1c93

Please sign in to comment.