@thi.ng/color-palettes
Version:
Collection of 200+ image based color themes & composable theme query filters
250 lines (223 loc) • 57.5 kB
Markdown
<!-- This file is generated - DO NOT EDIT! -->
<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
# 
[](https://www.npmjs.com/package/@thi.ng/color-palettes)

[](https://mastodon.thi.ng/@toxi)
> [!NOTE]
> This is one of 205 standalone projects, maintained as part
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
> and anti-framework.
>
> 🚀 Please help me to work full-time on these projects by [sponsoring me on
> GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
- [About](#about)
- [Recent additions](#recent-additions)
- [All themes](#all-themes)
- [Strong](#strong)
- [Medium](#medium)
- [Soft](#soft)
- [Status](#status)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage examples](#usage-examples)
- [Usage](#usage)
- [Authors](#authors)
- [License](#license)
## About
Collection of 200+ image based color themes & composable theme query filters. This is a support package for [@thi.ng/color](https://github.com/thi-ng/umbrella/tree/develop/packages/color)..
Themes can be obtained as arrays of CSS hex colors (strings), packed ARGB ints,
or normalized LCH/sRGB color vectors (e.g. for WebGL/WebGPU purposes). See
[thi.ng/color
readme](https://github.com/thi-ng/umbrella/tree/develop/packages/color) for
details.
Additionally, the themes/palettes can be iterated, filtered or queried via
arbitrary predicate functions and the ones provided:
Single theme accessors:
- [`asCSS()`](https://docs.thi.ng/umbrella/color-palettes/functions/asCSS.html)
- [`asInt()`](https://docs.thi.ng/umbrella/color-palettes/functions/asInt.html)
- [`asLCH()`](https://docs.thi.ng/umbrella/color-palettes/functions/asLCH.html)
- [`asRGB()`](https://docs.thi.ng/umbrella/color-palettes/functions/asRGB.html)
Iterators:
- [`cssThemes()`](https://docs.thi.ng/umbrella/color-palettes/functions/cssThemes.html)
- [`intThemes()`](https://docs.thi.ng/umbrella/color-palettes/functions/intThemes.html)
- [`lchThemes()`](https://docs.thi.ng/umbrella/color-palettes/functions/lchThemes.html)
- [`rgbThemes()`](https://docs.thi.ng/umbrella/color-palettes/functions/rgbThemes.html)
Provided (composable) filters:
- [`chroma()`](https://docs.thi.ng/umbrella/color-palettes/functions/chroma.html)
- [`hue()`](https://docs.thi.ng/umbrella/color-palettes/functions/hue.html)
- [`luma()`](https://docs.thi.ng/umbrella/color-palettes/functions/luma.html)
- [`proximityLCH()`](https://docs.thi.ng/umbrella/color-palettes/functions/proximityLCH.html)
- [`proximityRGB()`](https://docs.thi.ng/umbrella/color-palettes/functions/proximityRGB.html)
Custom filters can be defines via:
- [`defFilter()`](https://docs.thi.ng/umbrella/color-palettes/functions/defFilter.html)
- [`compFilter()`](https://docs.thi.ng/umbrella/color-palettes/functions/compFilter.html)
See [code examples](#usage) further below...
## Recent additions
| Palettes | | |
|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|
|  |  |  |
| 219 | 218 | 217 |
|  |  |  |
| 216 | 215 | 214 |
|  |  |  |
| 213 | 212 | 211 |
|  |  | |
| 210 | 209 | |
## All themes
Below all color palettes are shown **sorted by median LCH chromacity**:
(Please note that for some reason (color profile related) Google Chrome shows
the more saturated colors much more muted than they actually are/should be.
### Strong
| Palettes | | |
|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|
|  |  |  |
| 148 | 170 | 154 |
|  |  |  |
| 7 | 161 | 34 |
|  |  |  |
| 149 | 177 | 160 |
|  |  |  |
| 142 | 208 | 24 |
|  |  |  |
| 140 | 10 | 147 |
|  |  |  |
| 8 | 146 | 164 |
|  |  |  |
| 210 | 191 | 131 |
|  |  |  |
| 100 | 22 | 102 |
|  |  |  |
| 53 | 16 | 44 |
|  |  |  |
| 25 | 98 | 202 |
|  |  |  |
| 104 | 105 | 11 |
|  |  |  |
| 153 | 173 | 179 |
|  |  |  |
| 26 | 163 | 40 |
|  |  |  |
| 216 | 42 | 88 |
|  |  |  |
| 36 | 110 | 181 |
|  |  |  |
| 74 | 38 | 218 |
|  |  |  |
| 70 | 29 | 76 |
|  |  |  |
| 182 | 144 | 130 |
|  |  |  |
| 184 | 45 | 198 |
|  |  |  |
| 103 | 150 | 15 |
|  |  |  |
| 12 | 190 | 106 |
|  |  |  |
| 101 | 6 | 133 |
|  |  |  |
| 71 | 59 | 83 |
|  |  |  |
| 192 | 109 | 51 |
|  |  |  |
| 21 | 50 | 2 |
|  |  |  |
| 200 | 194 | 5 |
|  |  |  |
| 49 | 145 | 96 |
|  |  |  |
| 64 | 66 | 174 |
|  |  |  |
| 209 | 196 | 211 |
### Medium
| Palettes | | |
|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|
|  |  |  |
| 43 | 124 | 17 |
|  |  |  |
| 204 | 122 | 143 |
|  |  |  |
| 203 | 135 | 205 |
|  |  |  |
| 207 | 217 | 178 |
|  |  |  |
| 81 | 162 | 206 |
|  |  |  |
| 128 | 171 | 219 |
|  |  |  |
| 141 | 99 | 127 |
|  |  |  |
| 68 | 120 | 195 |
|  |  |  |
| 23 | 85 | 215 |
|  |  |  |
| 67 | 157 | 35 |
|  |  |  |
| 138 | 186 | 47 |
|  |  |  |
| 158 | 134 | 69 |
|  |  |  |
| 121 | 193 | 48 |
|  |  |  |
| 156 | 90 | 125 |
|  |  |  |
| 199 | 84 | 169 |
|  |  |  |
| 1 | 132 | 212 |
|  |  |  |
| 97 | 72 | 60 |
|  |  |  |
| 61 | 0 | 80 |
|  |  |  |
| 3 | 57 | 75 |
|  |  |  |
| 78 | 87 | 77 |
|  |  |  |
| 63 | 55 | 28 |
|  |  |  |
| 39 | 30 | 118 |
### Soft
| Palettes | | |
|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------|
|  |  |  |
| 33 | 151 | 116 |
|  |  |  |
| 165 | 41 | 9 |
|  |  |  |
| 19 | 159 | 139 |
|  |  |  |
| 152 | 176 | 86 |
|  |  |  |
| 136 | 189 | 89 |
|  |  |  |
| 123 | 168 | 108 |
|  |  |  |
| 82 | 111 | 119 |
|  |  |  |
| 129 | 115 | 172 |
|  |  |  |
| 175 | 20 | 213 |
|  |  |  |
| 13 | 117 | 65 |
|  |  |  |
| 27 | 137 | 46 |
|  |  |  |
| 107 | 183 | 197 |
|  |  |  |
| 188 | 31 | 185 |
|  |  |  |
| 62 | 92 | 18 |
|  |  |  |
| 126 | 95 | 214 |
|  |  |  |
| 73 | 4 | 180 |
|  |  |  |
| 56 | 155 | 93 |
|  |  |  |
| 94 | 187 | 113 |
|  |  |  |
| 201 | 32 | 54 |
|  |  |  |
| 79 | 91 | 37 |
|  |  |  |
| 52 | 166 | 167