mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-20 02:17:39 +00:00
651 B
651 B
title, description, categories, keywords, params
| title | description | categories | keywords | params | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| images.Saturation | Returns an image filter that changes the saturation of an image. |
|
The percentage must be in the range [-100, 500] where 0 has no effect.
Usage
Create the filter:
{{ $filter := images.Saturation 65 }}
{{% include "/_common/functions/images/apply-image-filter.md" %}}
Example
{{< img src="images/examples/zion-national-park.jpg" alt="Zion National Park" filter="Saturation" filterArgs="65" example=true
}}