| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | render: dim and brighten using linear rgb interpolation | Sam McCall | 2025-03-23 | -1/+0 |
| | | | | | | | Adds setting tweak.dim-amount, similar to bold-text-in-bright-amount. Closes #2006 | |||
| * | hsl: add our own implementations of rgb-to-hsl and hsl-to-rgb | Daniel Eklöf | 2020-11-15 | -0/+6 |
| * New function: rgb_to_hsl() * New function: hsl_to_rgb() * Replace XTerm’s hls_to_rgb() with our own, hsl_to_rgb(). * Ensure hue/lum/sat values are within range before calling hsl_to_rgb() Note that sixels’ use the following primary hues: * blue: 0° * red: 120 * green: 240° While “standard” HSL uses: * red: 0° * green: 120° * blue: 240° Thus, we need to adjust the sixel’s hue value before calling hsl_to_rgb(). | ||||
