Loading...


CSS Sepia Generator

Configuration

Sepia

Class

Preview

Parliament of Hungary, Budapest

Code

ReadyTools Academy

Coming Soon

Learn HTML, CSS, and JavaScript for free with the ReadyTools Academy.

Track your learning, grow at your own pace, and enjoy the journey! 🎯

CSS Sepia Generator

In CSS, you can apply the sepia effect to elements using the filter property. The sepia effect gives an element a brownish, vintage, or old-fashioned appearance by transforming its colors to shades of brown.

Here's how you can use the sepia effect in CSS:

.sepia-element { filter: sepia(100%); }

in this example:

  • The .sepia-element class applies the sepia effect to the element it targets.
  • sepia(100%) specifies 100% sepia effect, which means that the element will appear entirely in shades of brown.

You can adjust the percentage value to control the intensity of the sepia effect. For example, sepia(50%) would result in a partially sepia-toned appearance, with some original colors preserved.

Here's another example with partial sepia:

.partial-sepia-element { filter: sepia(30%); }

In this case, the .partial-sepia-element class applies a 30% sepia effect, resulting in a partial transformation to shades of brown.

The sepia effect is often used to create a vintage or nostalgic look for images or elements, reminiscent of old photographs. It's a creative tool for achieving specific visual styles and adding character to your web designs.


Top tools

CodeHubBoardly NEWLinksy NEWChromo NEW

Select Language

Set theme

© 2025 ReadyTools. All rights reserved.