### Install Wallust from Git using Cargo Source: https://github.com/explosion-mental/wallust/blob/master/README.md Install Wallust by cloning the repository and using Cargo to build and install the binary from the local path. This is useful for development or installing directly from the source. ```bash cargo install --path . ``` -------------------------------- ### Install Wallust with Nix Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/distro.md Install Wallust for your Nix profile or use it with nix-shell. ```bash nix-env -iA nixos.wallust # change `nixos` for `nixpkgs`, if on a non-NixOS system ``` ```bash nix-shell -p wallust ``` -------------------------------- ### Install Assets with Target Source: https://github.com/explosion-mental/wallust/blob/master/docs/packaging-make.md This command installs the binary and associated assets for a specified target. It requires defining the `RELEASE` path. ```bash # TARGET=x86_64-pc-windows-gnu make CARGOFLAGS="--release --target=$TARGET" RELEASE="target/$TARGET/release" ``` -------------------------------- ### Install Wallust on NetBSD Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/distro.md Install Wallust using the pkgin package manager on NetBSD systems. ```bash pkgin install wallust ``` -------------------------------- ### Pywal Template Syntax Example Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/pywal.md Demonstrates the basic 'Find and Replace' syntax for pywal variables. Use this to understand how variables are substituted in configuration files. ```text somevariable = {color2} anothervariable = {color8.rgb} ``` -------------------------------- ### Install Wallust from AUR Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/distro.md Use these commands to install the stable or development version of Wallust from the Arch User Repository. ```bash git clone https://aur.archlinux.org/wallust.git # Or wallust-git.git cd wallust # or wallust-git makepkg -si ``` -------------------------------- ### Install Wallust with Cargo Source: https://github.com/explosion-mental/wallust/blob/master/README.md Use this command to install the latest stable version of Wallust directly from crates.io. ```bash cargo install wallust ``` -------------------------------- ### Build and Install Wallust Manually Source: https://github.com/explosion-mental/wallust/blob/master/README.md Build the release version of Wallust and manually copy the binary to a directory in your system's PATH. This method allows for manual placement of the executable. ```bash cargo build --release cp -f ./target/release/wallust /usr/local/bin ``` -------------------------------- ### Interactive Wallust Theme Picker with fzf Source: https://github.com/explosion-mental/wallust/blob/master/docs/themes.md Opens an interactive fuzzy-finder to select a theme with live color previews. Requires fzf to be installed. Selecting a theme applies it. ```sh wallust theme list-fzf ``` -------------------------------- ### Display Top 5 Matching Themes Source: https://github.com/explosion-mental/wallust/blob/master/docs/pick.md Use the `-n` or `--top` flag to specify the number of top matching themes to display. This example shows the top 5 matches for 'wallpaper.jpg'. ```sh wallust pick -n 5 wallpaper.jpg ``` -------------------------------- ### Interactively Select a Theme Source: https://github.com/explosion-mental/wallust/blob/master/docs/pick.md Use the `--interactive` or `-i` flag to interactively choose a theme from the list of top matches. This example allows selection from the top 20 themes. ```sh wallust pick -n 20 --interactive wallpaper.jpg ``` -------------------------------- ### Add a Templated Hook Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Define a templated hook using Jinja2 syntax. This example uses variables like `wallpaper` and `palette`. ```toml notify = "notify-send 'wallust' 'Generated palette from {{wallpaper | basename}} using {{palette}}'" ``` -------------------------------- ### Hook with Command Substitution and Escaping Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Use double quotes when you need to call another program with `$()` or escape backslashes with `\\`. This example sets a random wallpaper. ```toml wallpaper = """swww img \"$(find ~/Media/Pictures/Wallpapers -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)\" """ ``` -------------------------------- ### Filters with Literal Arguments Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Filters can accept literal values as arguments. In this example, the 'blend' filter uses a literal color string. ```template {{ color2 | blend("4ff4ff")}} ``` -------------------------------- ### Get Complementary Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Returns the complementary color of the input color. ```jinja {{ color | complementary }} ``` -------------------------------- ### Whitespace Control Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Use a minus sign (-) at the start or end of delimiters to suppress vertical whitespace. This helps in controlling the final output's formatting. ```template {# Example demonstrating whitespace control #} {%- set variable = "value" -%} {{ variable }} ``` -------------------------------- ### Literal Delimiters Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md To output literal double curly braces {{ or }} that are not interpreted as template syntax, enclose them in delimiters. This is useful for displaying code examples or specific characters. ```template {{ "{{" }} {{ "}}" }} ``` -------------------------------- ### Apply Filters to Variables Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Apply filters to variables using the pipe character '|'. Filters modify the output of a variable. For example, 'strip' removes whitespace. ```template {{background | strip}} ``` -------------------------------- ### Run Wallust with an Image Source: https://github.com/explosion-mental/wallust/blob/master/README.md Execute the wallust command with a wallpaper image to generate a color palette. Use `wallust -h` for a quick overview or `wallust --help` for detailed explanations. ```bash wallust run my_wallpaper.png ``` -------------------------------- ### Build Binary with Target Source: https://github.com/explosion-mental/wallust/blob/master/docs/packaging-make.md Use this command to build the binary for a specific target architecture. It utilizes `make` and `cargo` with release flags. ```bash $ TARGET=x86_64-pc-windows-gnu make install CARGOFLAGS="--release --target=$TARGET" ``` -------------------------------- ### Basic Usage of Wallust Pick Source: https://github.com/explosion-mental/wallust/blob/master/docs/pick.md This is the basic command to find matching themes for an image. It displays the top 10 matching themes with a one-row color preview. ```sh wallust pick ``` -------------------------------- ### Migrate Configuration File Source: https://github.com/explosion-mental/wallust/blob/master/docs/v4.md Run this command to automatically update your configuration file to the new v4 ALPHA format. ```bash wallust migrate ``` -------------------------------- ### Add Wallust Flake Input Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/distro.md Configure your flake.nix to use the Wallust repository for the latest release. ```nix inputs.wallust.url = "git+https://codeberg.org/explosion-mental/wallust?ref=master"; ``` -------------------------------- ### Automatically Apply Best Matching Theme Source: https://github.com/explosion-mental/wallust/blob/master/docs/pick.md Use the `--best` or `-b` flag to automatically apply the first matching theme found. This is useful for quickly setting a theme based on an image. ```sh wallust pick --best wallpaper.jpg ``` -------------------------------- ### Use Wallust Flake in NixOS Configuration Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/distro.md In your configuration.nix, reference the Wallust package from your flake inputs. ```nix environment.systemPackages = [ inputs.wallust.packages.${pkgs.system}.wallust ]; ``` -------------------------------- ### Set Palette via CLI Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/palette.md Specify the desired palette when running the command-line tool. ```bash wallust run image.png --palette salience ``` -------------------------------- ### Configure Palette Modes and Styles Source: https://github.com/explosion-mental/wallust/blob/master/docs/v4.md Set the new top-level palette configuration keys for mode, style, and 16-color support. ```toml palette = "salience" style = "dark" # or "light" use16cols = true # optional, dims the upper half of the palette ``` -------------------------------- ### Define Hooks Section Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Create a TOML table header named `hooks` to define your custom commands. ```toml [hooks] ``` -------------------------------- ### List Available Wallust Themes Source: https://github.com/explosion-mental/wallust/blob/master/docs/themes.md Displays a list of all available built-in themes that can be applied. ```sh wallust theme list ``` -------------------------------- ### Extract Binary Package Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/README.md Use this command to extract the downloaded tar.gz archive containing the wallust binary. Replace TARGET with the appropriate version and architecture. ```bash tar -xf wallust-TARGET.tar.gz ``` -------------------------------- ### Preview a Wallust Theme Without Applying Source: https://github.com/explosion-mental/wallust/blob/master/docs/themes.md Prints the color palette of a specified theme to the terminal without applying it or running hooks. This is also used internally by `list-fzf`. ```sh wallust theme --preview ``` -------------------------------- ### Add a Simple Hook Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Add entries with unique names to the `[hooks]` section. Use single quotes for simple scripts. ```toml [hooks] notif = 'notify-send "New Scheme Generated!"' ``` -------------------------------- ### TOML Configuration for Wallust Source: https://github.com/explosion-mental/wallust/blob/master/docs/config/example.md This TOML configuration file showcases various settings for Wallust, including backend selection, palette definition, style, and detailed template configurations for different applications. Use this to customize your color scheme generation and application integration. ```toml # Let's keep good old pywal look and feel backend = "wal" #threshold = "20" # wallust does this automagically.. palette = "salience" style = "dark" # tune the salience palette salience = { sampling = "balanced", intensity = "normal" } # let's keep the contrast very very very clear. check_contrast = true [templates] # dunst templates dunst.template = "dunstrc.monitor" dunst.target = "~/.config/dunst/dunstrc" # one liner for zathura zathura = { template = 'zath', target = '~/.config/zathura/zathurarc' } # even a shorter way, using directories, but only one level recursion glava = { src = 'glava', dst = '~/.config/glava/', max_depth = 1 } # or splited in the dotted syntax res.src = "xres" res.dst = "~/.config/Xresources" # old times, good times. Here I put old pywal templates. # NOTE THAT BOTH src AND dst ARE DIRECTORIES! pywal = { src = "templates/", dst = '~/.cache/wal/', pywal = true } [hooks] notify = 'notify-send "New Scheme Generated!"' [templated_hooks] notify2 = "notify-send 'wallust' 'Generated palette from {{wallpaper | basename}}'" ``` -------------------------------- ### Apply a Wallust Theme Source: https://github.com/explosion-mental/wallust/blob/master/docs/themes.md Applies a specified built-in theme. Replace `` with the desired theme's name. ```sh wallust theme ``` -------------------------------- ### Set Palette via Config File Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/palette.md Configure the palette selection directly in the TOML configuration file. ```toml palette = "salience" ``` -------------------------------- ### Configure Templated Hooks Source: https://github.com/explosion-mental/wallust/blob/master/docs/v4.md Define custom hooks that render commands as Jinja2 templates, providing access to dynamic variables like wallpaper and palette. ```toml [templated_hooks] notify = "notify-send 'wallust' 'Generated palette from {{wallpaper | basename}}'" ``` -------------------------------- ### Add Wallust to NixOS Configuration Source: https://github.com/explosion-mental/wallust/blob/master/docs/installation/distro.md Include Wallust in your NixOS system packages by adding this to your configuration.nix. ```nix environment.systemPackages = [ pkgs.wallust ]; ``` -------------------------------- ### Set Threshold via CLI Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/threshold.md Adjust the threshold value when running Wallust from the command line interface. ```bash wallust run image.png --threshold 18 ``` -------------------------------- ### Zathurarc Configuration Template Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/example.md This configuration snippet is designed to be used as a template with Wallust. It uses Wallust's templating syntax (e.g., {{variable}}) to dynamically insert colors into the zathurarc file. Place this file in `~/.config/wallust/templates` and reference it in your Wallust config. ```shell # zathurarc config sample # colors set default-bg "{{background}}" # complementary foreground, but keep it light set default-fg "{{foreground | complementary | lighten(0.5)}}" # make it a bit lighter than background set statusbar-bg "{{background | lighten(0.3)}}" # make it darken by blending to a darken color set statusbar-fg "{{foreground | blend("#eeeeee")}}" # use it's complementary set inputbar-bg "{{background | complementary}}" ``` -------------------------------- ### Set Saturation in Config File Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/saturation.md Configure saturation directly in the project's configuration file. This sets a persistent value for saturation. ```ini saturation = 20 ``` -------------------------------- ### Conditional Logic for Variable Assignment Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Demonstrates using if-else statements to conditionally assign values to variables. This is useful for setting defaults or choosing values based on context. ```template {# I'll hardcode a color based on the palette being used. #} {% if palette[:4] == "dark" %} somevariable = "#eeffbb" {% else %} somevariable = "#aabbee" {% endif %} ``` -------------------------------- ### Set Threshold in Config File Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/threshold.md Configure the threshold value directly within the Wallust configuration file. ```yaml threshold = 10 ``` -------------------------------- ### Set Saturation via CLI Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/saturation.md Adjust saturation when running a command-line interface tool. This is useful for one-off adjustments or scripting. ```bash wallust run image.png --saturation 20 ``` -------------------------------- ### Configure Salience Palette Options Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/palette.md Set advanced sampling and intensity options for the 'salience' palette in the TOML config. ```toml salience = { sampling = "balanced", intensity = "normal" } ``` -------------------------------- ### Define Templated Hooks Section Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Create a TOML table header named `templated_hooks` to define commands that will be rendered as Jinja2 templates. ```toml [templated_hooks] ``` -------------------------------- ### Output Color in RGB Floating Point Format Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Outputs the color value in rgb format using floating-point numbers between 0.0 and 1.0, separated by commas (e.g., '0.1,0.2,0.3'). ```jinja {{ color | rgbf }} ``` -------------------------------- ### Alias pywal to wallust pywal Source: https://github.com/explosion-mental/wallust/blob/master/docs/pywal_replacement.md Create a shell script to alias `pywal` to `wallust pywal`. This script ensures that any program expecting `wal` will instead use `wallust pywal`. ```sh #!/bin/sh exec wallust pywal "$@" ``` -------------------------------- ### Filters with Arguments Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Filters can accept arguments, enclosed in parentheses. The 'lighten' filter, for instance, takes a numerical argument to adjust the color's lightness. ```template {{background | lighten(0.3)}} ``` -------------------------------- ### Apply a Random Wallust Theme Source: https://github.com/explosion-mental/wallust/blob/master/docs/themes.md Picks and applies a random built-in theme from the available collection. ```sh wallust theme random ``` -------------------------------- ### Disable Hooks in Configuration Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Set `no_hooks = true` in the configuration file to ignore all defined hooks. ```toml no_hooks = true ``` -------------------------------- ### Output Blue Component as Float Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Extracts and outputs the blue component of a color as a floating-point number. ```jinja {{ color | bluef }} ``` -------------------------------- ### Enable Environment Variables in Paths Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/env_vars.md To enable the use of shell variables in paths, set `env_vars = true` in your configuration file. This feature is disabled by default for security reasons. ```toml pywal = { src = "pywal", dst = "${XDG_HOME_CONFIG}/templates/pywal-result/", pywal = true } ``` -------------------------------- ### Output Red Component as Float Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Extracts and outputs the red component of a color as a floating-point number. ```jinja {{ color | redf }} ``` -------------------------------- ### Output Color in RGB Format Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Outputs the color value in rgb format, with components separated by commas (e.g., '10,11,12'). ```jinja {{ color | rgb }} ``` -------------------------------- ### If-Else Control Flow Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Use {% % } delimiters for control flow statements. The 'if-elif-else' structure allows for conditional rendering of content based on variable values. ```template {% if backend == "wal" %} I am using the '{{backend}}' backend, getting a pywal like scheme. {% elif backend == "fastresize" %} This backend is called "{{palette}}" and, uses SIMD optimizations and is so fast! {% else %} I don't care about any other backends. Be happy! {% endif %} ``` -------------------------------- ### Output Green Component as Float Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Extracts and outputs the green component of a color as a floating-point number. ```jinja {{ color | greenf }} ``` -------------------------------- ### Output Color in XRGB Format Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Outputs the color value in xrgb format, with components separated by slashes (e.g., '0A/0B/0C'). ```jinja {{ color | xrgb }} ``` -------------------------------- ### Remove Deprecated Colorspace Configuration Source: https://github.com/explosion-mental/wallust/blob/master/docs/v4.md The 'colorspace' configuration key is no longer valid and should be removed from your configuration file. ```toml # remove this line: colorspace = "lch" ``` -------------------------------- ### Reference Variables in Templates Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Use double curly braces {{ }} to reference variables within the template. This is the basic syntax for inserting dynamic content. ```template {{color0}} ``` -------------------------------- ### Configuration to Enable Env Vars Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/env_vars.md Set `env_vars = true` in your configuration file to allow shell variables in paths. This option is disabled by default. ```ini env_vars = true ``` -------------------------------- ### Inline If-Else Expression Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md A concise way to write simple conditional expressions within template output. It uses the 'if' and 'else' keywords in a single line. ```template {{ "I'm using the kmeans algo!" if backend == "kmeans" else "Some backend is in use" }} ``` -------------------------------- ### View Full Palette for Top Themes Source: https://github.com/explosion-mental/wallust/blob/master/docs/pick.md Use the `--long` or `-l` flag to display the full two-row color palette for each of the top matching themes. This provides a more detailed view of the theme's colors. ```sh wallust pick --long wallpaper.jpg ``` -------------------------------- ### For Loop for Iteration Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Iterate over a collection (like a list or dictionary) using the 'for' loop. The 'loop.index' variable provides the current iteration number. ```template {# This will generate color0 = .. to color18, since `colors` contains background, foreground and cursor variables #} {% for c in colors %} color{{- loop.index }} = {{c-}} {% endfor %} ``` -------------------------------- ### Disable Templated Hooks in Configuration Source: https://github.com/explosion-mental/wallust/blob/master/docs/hooks.md Set `no_templated_hooks = true` in the configuration file to skip all templated hooks. ```toml no_templated_hooks = true ``` -------------------------------- ### Chaining Multiple Filters Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Multiple filters can be chained together, with each filter operating on the output of the previous one. The order of filters is significant. ```template {# This will get a color without the initial '#', 0.5 lighter than before and it's complementary variant. #} {{ color2 | strip | lighten(0.5) | complementary}} ``` -------------------------------- ### Template Comments Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Use {# #} delimiters to add comments within your template. These comments are ignored during rendering and will not appear in the final output file. ```template {# This won't be visible! #} ``` -------------------------------- ### Output Color in Hex Format (No Hash) Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Outputs the color value in hexadecimal format without the leading '#' character (e.g., '0A0B0C'). ```jinja {{ color | strip }} ``` -------------------------------- ### Set Alpha in Config File Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/alpha.md Modify the alpha value by editing the configuration file. This sets the alpha parameter for templating. ```ini alpha = 50 ``` -------------------------------- ### Output Blue Component of Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Extracts and outputs only the blue component of a color value (e.g., '12'). ```jinja {{ color | blue }} ``` -------------------------------- ### Escaping Brackets in Pywal Templates Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/pywal.md Shows how to escape curly braces in pywal templates to prevent them from being interpreted as variable placeholders. This is useful when you need to include literal braces in your configuration. ```text // Example snippet. * {{ active-background: {color2}; active-foreground: {foreground}; normal-background: {background}; normal-foreground: {foreground}; urgent-background: {color1}; urgent-foreground: {foreground}; // ... }} ``` -------------------------------- ### Output Red Component of Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Extracts and outputs only the red component of a color value (e.g., '10'). ```jinja {{ color | red }} ``` -------------------------------- ### Set Alpha via CLI Source: https://github.com/explosion-mental/wallust/blob/master/docs/parameters/alpha.md Adjust the alpha value when running a command using the CLI. This overrides the configuration file setting for a specific run. ```bash wallust run image.png --alpha 50 ``` -------------------------------- ### Output Green Component of Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Extracts and outputs only the green component of a color value (e.g., '11'). ```jinja {{ color | green }} ``` -------------------------------- ### Output Color in Hexa Format Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Outputs the color value in hexadecimal format including the alpha channel (e.g., '#0A0B0CFF'). Internally uses the `alpha_hexa` filter. ```jinja {{ color5 | hexa }} ``` -------------------------------- ### Saturate Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Increases the saturation of the color by a specified decimal amount between 0.1 and 1.0. ```jinja {{ color | saturate(0.2) }} ``` -------------------------------- ### Lighten Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Lightens the color by a specified decimal amount between 0.1 and 1.0. ```jinja {{ color0 | lighten(0.2) }} ``` -------------------------------- ### Adjust Color Hue Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Shifts the hue of the color by a specified number of degrees. A full rotation is 360 degrees. ```jinja {{ color4 | adjust_hue(30) }} ``` -------------------------------- ### Blend Colors Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Blends the filtered color with another specified color. Multiple blend filters can be chained. ```jinja {{ color2 | blend(color0) | blend("#EEDDFF") }} ``` -------------------------------- ### Filters on Literal Values Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/syntax.md Filters can be applied to literal values, such as color codes. This allows direct manipulation of predefined values within the template. ```template {{ "#4ff4ff" | lighten(0.3)}} ``` -------------------------------- ### Display Alpha as Hexadecimal Color Code Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Use this filter to display an alpha value (0-100) as a two-digit hexadecimal string. It's useful for color alpha values. ```jinja {{ 100 | alpha_hexa }} ``` -------------------------------- ### Darken Color Source: https://github.com/explosion-mental/wallust/blob/master/docs/templates/filters.md Darkens the color by a specified decimal amount between 0.1 and 1.0. ```jinja {{ color | darken(0.2) }} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.