GitPedia
elchininet

elchininet/ColorTranslator

A JavaScript library, written in TypeScript, to convert among different color models

11 Releases
Latest: 2mo ago
v6.1.1Latest
github-actions[bot]github-actions[bot]ยท2mo agoยทMarch 31, 2026
GitHub

๐Ÿ“ฆ ๐Ÿ“ฆ Other

  • Simplify static methods overloads
  • PR: #328 by @elchininet
v6.1.0
github-actions[bot]github-actions[bot]ยท3mo agoยทMarch 29, 2026
GitHub

๐Ÿ“ฆ ๐Ÿงฉ Dependencies

  • [Dependencies]: Bump the dependencies-dev group with 5 updates
  • PR: #321 by @dependabot[bot]
  • [Dependencies]: Bump the dependencies-dev group with 6 updates
  • PR: #322 by @dependabot[bot]
  • [Dependencies]: Bump the dependencies-dev group with 4 updates
  • PR: #324 by @dependabot[bot]
  • [Dependencies]: Bump the dependencies-dev group with 2 updates
  • PR: #326 by @dependabot[bot]
  • + 2 more

๐Ÿ“ฆ โš™๏ธ Configuration

  • Remove Node 20 from container image
  • PR: #323 by @elchininet
  • [Github Actions]: Bump pnpm/action-setup from 4 to 5 in the actions-deps group
  • PR: #325 by @dependabot[bot]
  • Migrate the project to TypeScript 6
  • PR: #327 by @elchininet
v6.0.1
github-actions[bot]github-actions[bot]ยท3mo agoยทMarch 2, 2026
GitHub

๐Ÿ“ฆ โš™๏ธ Configuration

  • Change deploy workflow permission
  • PR: #319 by @elchininet

๐Ÿ“ฆ ๐Ÿ“ฆ Other

  • Code refactoring
  • PR: #320 by @elchininet
v6.0.0
elchininetelchininetยท3mo agoยทMarch 1, 2026
GitHub

๐Ÿ“‹ What's Changed

  • [Dependencies]: Bump the dependencies-dev group with 4 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/265
  • [Dependencies]: Bump the dependencies-dev group with 7 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/266
  • [Dependencies]: Bump the dependencies-dev group with 5 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/267
  • [Dependencies]: Bump the dependencies-dev group with 5 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/268
  • [Dependencies]: Bump the dependencies-dev group with 6 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/269
  • [Dependencies]: Bump the dependencies-dev group with 5 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/270
  • [Dependencies]: Bump the dependencies-dev group with 4 updates by @dependabot[bot] in https://github.com/elchininet/ColorTranslator/pull/271
  • Solve a on-header vulnerability through pnpm overrides by @elchininet in https://github.com/elchininet/ColorTranslator/pull/272
  • + 46 more
v5.0.0
github-actions[bot]github-actions[bot]ยท1y agoยทJune 5, 2025
GitHub

๐Ÿ“ฆ Support from HWB colors

  • [HWB](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hwb) colors are now supported in the library.
  • CSS string inputs
  • | Example of CSS string inputs | Description |
  • | ---------------------------- | -------------------------------------------- |
  • | `hwb(0 0% 0%)` | Functional HWB notation |
  • | `hwb(0 0% 0% / 0.5)` | Functional HWB notation with alpha |
  • | `hwb(0deg 0% 0%)` | Functional HWB notation with hue in degrees |
  • | `hwb(0grad 0% 0%)` | Functional HWB notation with hue in gradians |
  • + 36 more

๐Ÿ“ฆ Support from LCH colors

  • [LCH](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/lch) colors are now supported in the library.
  • | Example of CSS string inputs | Description |
  • | ---------------------------- | ------------------------------------------------- |
  • | `lch(54 107 41)` | Functional LCH notation |
  • | `lch(54% 71% 41)` | Functional LCH notation with percentages |
  • | `lch(54 107 41 / 0.5)` | Functional LCH notation with alpha |
  • | `lch(54% 71% 41 / 0.5)` | Functional LCH notation with percentages and alpha|
  • | `lch(54 107 41deg)` | Functional LCH notation with hue in degrees |
  • + 39 more

๐Ÿ“ฆ Support from relative colors

  • [Relative colors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/Relative_colors) colors are now supported in the library as CSS input.
  • CSS string inputs
  • | Example of CSS string inputs | Description |
  • | ---------------------------- | -------------------------------------------- |
  • | `rgb(from #F00 r g b)` | Functional RGB notation in relative color syntax |
  • | `rgb(from hsl(0 100% 50%) calc(r + 5) g b / calc(alpha / 2))` | Functional RGB notation in relative color syntax with alpha |
  • | `hsl(from hsl(0 100 50) h s l)` | Functional HSL notation in relative color syntax |
  • | `hsl(from hsl(0 100 50) calc(h + 5) s l / calc(alpha / 2))` | Functional HSL notation in relative color syntax with alpha |
  • + 17 more

๐Ÿ› Bugs solved

  • In HSL colors, the percentage symbol is optional (except in the legacy format), but this was not supported before. In this new release, HSL colors without percentages are accepted as input.
  • ```css
  • hsl(120 75 25)
  • /* Is is the same as */
  • hsl(120 75% 25%)
  • ```
  • ---

โœจ ๐Ÿš€ Features

  • ColorTranslator new release
  • PR: #261 by @elchininet

๐Ÿ› ๐Ÿ›  Fixes

  • ColorTranslator new release
  • PR: #261 by @elchininet

๐Ÿ“ฆ ๐ŸŽฒ Demo

  • Update demo page
  • PR: #145 by @elchininet
  • Build demo bundles
  • PR: #170 by @elchininet
  • Build demo bundle
  • PR: #172 by @elchininet
  • ColorTranslator new release
  • PR: #261 by @elchininet
  • + 2 more

๐Ÿ“ฆ ๐Ÿงฉ Dependencies

  • [Dependencies]: Bump the dependencies-dev group with 9 updates
  • PR: #148 by @dependabot[bot]
  • [Dependencies]: Bump the dependencies-dev group with 1 update
  • PR: #149 by @dependabot[bot]
  • [Dependencies]: Bump the dependencies-dev group with 5 updates
  • PR: #150 by @dependabot[bot]
  • [Dependencies]: Bump the dependencies-dev group with 4 updates
  • PR: #151 by @dependabot[bot]
  • + 178 more

๐Ÿ“ฆ โš™๏ธ Configuration

  • Enable dependabot in the repo to manage dependencies updates
  • PR: #147 by @elchininet
  • Add cache action to the workflows to cache dependencies
  • PR: #156 by @elchininet
  • Rename tests workflow
  • PR: #162 by @elchininet
  • Migrate to pnpm
  • PR: #169 by @elchininet
  • + 20 more

๐Ÿ“ฆ ๐Ÿ“ฆ Other

  • Add NPM downloads badge
  • PR: #146 by @elchininet
  • Add Tests badge to the README
  • PR: #163 by @elchininet
  • Start using named captured groups instead of index groups
  • PR: #258 by @elchininet
  • Move color-strings parser logic to separate classes
  • PR: #259 by @elchininet
  • + 4 more
v4.1.0
github-actions[bot]github-actions[bot]ยท2y agoยทNovember 27, 2023
GitHub

โœจ ๐Ÿš€ Features

  • Improve overloads and types
  • PR: #144 by @elchininet

๐Ÿ› ๐Ÿ›  Fixes

  • Improve overloads and types
  • PR: #144 by @elchininet
v4.0.0
github-actions[bot]github-actions[bot]ยท2y agoยทNovember 26, 2023
GitHub

โœจ ๐Ÿš€ Features

  • Add support for lab color
  • PR: #142 by @elchininet

๐Ÿ“ฆ ๐ŸŽฒ Demo

  • Add support for lab color
  • PR: #142 by @elchininet

๐Ÿ“ฆ ๐Ÿงฉ Dependencies

  • Bump postcss from 8.4.25 to 8.4.31
  • PR: #138 by @dependabot[bot]
  • Bump @babel/traverse from 7.16.8 to 7.23.2
  • PR: #139 by @dependabot[bot]
  • Update dependencies
  • PR: #141 by @elchininet
v3.0.2
github-actions[bot]github-actions[bot]ยท2y agoยทAugust 2, 2023
GitHub

๐Ÿ› ๐Ÿ›  Fixes

  • Specify types for ESM module
  • PR: #135 by @elchininet

๐Ÿ“ฆ ๐ŸŽฒ Demo

  • Update bundles
  • PR: #133 by @elchininet

๐Ÿ“ฆ โš™๏ธ Configuration

  • Specify types for ESM module
  • PR: #135 by @elchininet
  • Provide to d.ts files, one for CommonJS and another for ESM
  • PR: #136 by @elchininet
v3.0.1
github-actions[bot]github-actions[bot]ยท2y agoยทJuly 20, 2023
GitHub

๐Ÿ› ๐Ÿ›  Fixes

  • Avoid double rounding in blending static methods
  • PR: #132 by @elchininet

๐Ÿ“ฆ ๐ŸŽฒ Demo

  • Small changes demo page
  • PR: #129 by @elchininet

๐Ÿ“ฆ ๐Ÿงฉ Dependencies

  • Remove coveralls package
  • PR: #130 by @elchininet
  • Update packages
  • PR: #131 by @elchininet
v3.0.0
github-actions[bot]github-actions[bot]ยท2y agoยทJuly 18, 2023
GitHub

โœจ ๐Ÿš€ Features

  • Implement full css level 4 support
  • PR: #128 by @elchininet

๐Ÿ“ฆ ๐Ÿงฉ Dependencies

  • Update dependencies
  • PR: #115 by @elchininet
  • Bump semver from 5.7.1 to 5.7.2
  • PR: #117 by @dependabot[bot]

๐Ÿ“ฆ โš™๏ธ Configuration

  • Add github sponsor button to the project
  • PR: #112 by @elchininet
  • Implement full css level 4 support
  • PR: #128 by @elchininet
v2.0.0
github-actions[bot]github-actions[bot]ยท3y agoยทMay 18, 2023
GitHub

โœจ ๐Ÿš€ Features

  • Complete refactor of the library, add support to control the number of decimals
  • PR: #111 by @elchininet

๐Ÿ› ๐Ÿ›  Fixes

  • fix translation from black to cmyk format
  • PR: #100 by @jeronimoek

๐Ÿ“ฆ ๐Ÿงฉ Dependencies

  • Bump ua-parser-js from 1.0.2 to 1.0.33
  • PR: #103 by @dependabot[bot]
  • Bump http-cache-semantics from 4.1.0 to 4.1.1
  • PR: #105 by @dependabot[bot]
  • Bump dns-packet from 5.3.1 to 5.4.0
  • PR: #107 by @dependabot[bot]
  • Bump webpack from 5.75.0 to 5.76.0
  • PR: #108 by @dependabot[bot]
  • + 2 more

๐Ÿ“ฆ โš™๏ธ Configuration

  • Enforce no trailing spaces
  • PR: #95 by @elchininet
  • Lint test files
  • PR: #102 by @elchininet
  • Create a job to create releases
  • PR: #110 by @elchininet

๐Ÿ“ฆ ๐Ÿ“ฆ Other

  • Reformat functions, fix eslint and ts config
  • PR: #94 by @jeronimoek
  • Improve CSS builder module
  • PR: #96 by @elchininet
  • Refactor blending utilities
  • PR: #97 by @elchininet
  • minor reformat of helpers
  • PR: #101 by @jeronimoek