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
Which returns the most dominant colors of an image using a simple histogram method. Fixes #10307
Updates #9687
See https://github.com/mvdan/gofumpt
Closes #6298