Home

ToolsBlog


CSS Saturate Generator BETA

Configuration

Saturate

Class

Preview

Parliament of Hungary, Budapest

Code

CSS Saturate Generator

In CSS, you can apply the saturate effect to elements using the filter property. The saturate effect controls the saturation or intensity of the colors in an element. A higher percentage value increases saturation, making the colors more vibrant, while a lower percentage value desaturates the colors, making them appear more grayscale.

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

.saturate-element { filter: saturate(200%); }

in this example:

  • The .saturate-element class applies the saturate effect to the element it targets.
  • saturate(200%) specifies 200% saturation, which means that the colors of the element will be intensified, making them more vibrant and saturated.

You can adjust the percentage value to control the level of saturation. For example, saturate(50%) would result in a reduced level of saturation, creating a less vibrant appearance.

Here's another example with reduced saturation:

.reduced-saturation-element { filter: saturate(75%); }

In this case, the .reduced-saturation-element class applies a 75% saturation effect, making the colors less intense.

The saturate effect is a useful tool for manipulating the color intensity of elements on your web page, allowing you to create various visual styles and effects.


Top tools

Code Hub
Color PaletteNEW
Strong Password GeneratorColor PickerSocial Media Username Checker

Select Language

Set theme

© 2024 ReadyTools. All rights reserved.