Module:Explore/color/doc

Category:Module documentation#Explore/color/doc

Module to make galleries of featured pictures based on their color.

See Special:PrefixIndex/Commons:Explore/Colors

Usage

{{#invoke:Explore/color|makeGradientGallery|stops=#FF2020 #20FF20 #2020E0 #FF20DD|count=80}}

Make a gradient gallery. Stops is a space separated list of colours. Also supports count parameter for number of images, mode for style of gallery, and heights for how big to make the image.

If you only have two colours you can use start and end instead of stops.

Colours are specified in sRGB but graident is calculated using OKLab colourspace.

{{#invoke:Explore/color|makeColorGallery|sRGB=#a0522d}}

Make a gallery of all the images closest to that colour. Colour can be specified as sRGB parameter, or separate L, a, and b parameters for OKLab. Also supports count parameter for number of images, mode for style of gallery, and heights for how big to make the image.

There is also makeMonotoneNoBWGallery, makeMonotoneGallery and makePolytoneGallery functions.

Category:Module documentation