CSS Filter Playground
Try CSS filters on your own photo, combine them into a look, and copy the CSS or download the image.
Looks
How to use the CSS Filter Playground
- Upload a photoUse your own image, or try the filters on the sample picture. Nothing is uploaded to a server.
- Adjust or pick a lookMove the sliders or click a look such as Vintage, Black & white or Dramatic. Hold “compare” to see the original.
- Copy or downloadCopy the filter CSS for your website, or download the filtered image as a PNG.
Example
Vintage: filter: brightness(105%) contrast(110%) saturate(80%) sepia(60%);
Black & white: filter: contrast(110%) grayscale(100%);. Only changed values are included.
Frequently asked questions
Does the filter change the original image file?
No. A CSS filter only changes how the image looks in the browser. To get a new file with the filter applied, use Download PNG.
Does the order of filters matter?
Yes, slightly. Filters are applied left to right, so brightness then contrast can look a little different from contrast then brightness.
Can I use filters on things other than images?
Yes. filter works on any element: videos, backgrounds, icons and even whole sections, for example a grayscale effect that is removed on hover.