Skip to content
JS
Package

@csstools/postcss-oklab-function

Use oklab() and oklch() color functions in CSS

v5.0.12, 13 Sept 2026MIT-0ESM onlyTypes: BundledCSS-in-JS and styling
$ npm install @csstools/postcss-oklab-function

Key numbers

As of 25 Sept 2026
Weekly downloads
5.5m
+19% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
11 days ago
v5.0.12
GitHub stars
1.1k
83 forks
Open issues / PRs
10 / 0
Contributors
142
Commits, last 52 weeks
861

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.7m (18 Aug 2026)Low 2.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,497,755 downloads last week, 23,878,957 in the last month. The 12-month change of +19% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1358 in total
Latest version
5.0.12, 13 Sept 202611 days ago
First published
11 Feb 2022
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
10
Open pull requests
0
Commits, last 52 weeks
861
Dependents on npm
9

Major versions

  1. v5 first release 5.0.0, 14 Jan 2026
  2. v4 first release 4.0.0, 3 Aug 2024
  3. v3 first release 3.0.0, 3 Jul 2023
  4. v2 first release 2.0.0, 24 Jan 2023
  5. v1 first release 1.0.0, 11 Feb 2022

Recent releases

VersionPublished
5.0.1213 Sept 2026
5.0.116 Sept 2026
5.0.1031 Aug 2026
5.0.925 Aug 2026
5.0.815 Aug 2026
5.0.722 Jul 2026
5.0.628 Jun 2026
5.0.514 Jun 2026
5.0.413 May 2026
5.0.312 Apr 2026
5.0.221 Feb 2026
5.0.125 Jan 2026
5.0.014 Jan 2026
4.0.1221 Sept 2025
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.19.0
Runtimes
-
Unpacked size (npm)
9.8 kB
Dependencies (5)
@csstools/utilities@csstools/css-tokenizer@csstools/css-color-parser@csstools/css-parser-algorithms@csstools/postcss-progressive-custom-properties
Peer dependencies (1)
postcss
npm install @csstools/postcss-oklab-function
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@csstools/postcss-oklab-function@5.0.12/
  • unpkghttps://unpkg.com/@csstools/postcss-oklab-function@5.0.12/
  • esm.shhttps://esm.sh/@csstools/postcss-oklab-function@5.0.12
PackageWeekly downloadsGzipLast releaseModuleComparison
postcss-colormin16m-7 days agoESM only-
postcss-reduce-initial16m-7 days agoESM only-
postcss-ordered-values15.9m-7 days agoESM only-
postcss-unique-selectors15.9m-7 days agoESM only-
postcss-minify-gradients15.9m-7 days agoESM only-
postcss-normalize-whitespace15.3m-7 days agoESM only-
postcss-normalize-unicode15m-7 days agoESM only-
postcss-normalize-positions15m-7 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.