hugo/common
Bjørn Erik Pedersen e197c7b29d Add Luminance to Color
To sort an image's colors from darkest to lightest, you can then do:

```handlebars
{{ {{ $colorsByLuminance := sort $image.Colors "Luminance" }}
```

This uses the formula defined here: https://www.w3.org/TR/WCAG21/#dfn-relative-luminance

Fixes #10450
2024-04-16 10:02:46 +02:00
..
collections
constants
hcontext
herrors Improve nilpointer error message 2024-02-01 19:53:51 +01:00
hexec
hreflect
hstrings
htime
hugio
hugo
loggers
maps
math
para common/para: Skip flaky test on CI 2023-11-28 12:23:38 +01:00
paths all: Typo fixes 2024-03-15 17:25:52 +01:00
predicate
rungroup
terminal
text
types
urls
docs.go