Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS filter hue rotate: CSS hue rotate filter shorthand</title>
<link rel="author" title="Tien Le" href="mailto:shonentokyo@gmail.com">
<link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
<link rel="match" href="filter-hue_rotate-001-ref.html">
<meta name="assert" content="CSS hue rotate filter will apply a matrix to rotate the hue. Since angle is 0, it has
no affect on the rectangle.">
<style type="text/css">
div {
width: 200px;
height: 200px;
background-color: green;
filter: hue-rotate(0deg);
}
</style>
</head>
<body>
<p>You should see a green rectangle.</p>
<div></div>
</body>
</html>