Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: prophoto-rgb</title>
<link rel="author" title="Sam Weinig" href="">
<link rel="help" href="">
<link rel="match" href="prophoto-rgb-004-ref.html">
<meta name="assert" content="prophoto-rgb with no alpha">
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: lab(87.5745% -186.6921 150.9905); width: 12em; height: 6em; margin-bottom: 0; } /* color(prophoto-rgb 0 1 0) converted to Lab */
.test { background-color: color(prophoto-rgb 0 1 0); }
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>