Coder Social home page Coder Social logo

barivakhidov / oklch-picker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evilmartians/oklch-picker

0.0 0.0 0.0 1.16 MB

Color Picker for LCH

Home Page: https://oklch.com

License: Other

Shell 0.10% JavaScript 0.93% TypeScript 63.83% CSS 24.35% HTML 0.50% Pug 10.29%

oklch-picker's Introduction

OKLCH & LCH Color Picker

Color picker and converter for OKLCH and LCH color space.

OKLCH is a new way to encode colors (like hex, RGBA, or HSL):

  • OKLCH has native browser support.
  • It can encode more colors for modern screens (P3, Rec. 2020, and beyond).
  • Unlike HSL, OKLCH always has predictable contrast after color transformation.
  • In contrast with LCH and Lab, no hue shift on chroma changes.
  • Provides great accessibility on palette generation.

Additional links about Oklab and OKLCH:

Development

To run a local copy for development:

  1. Install correct versions of Node.js and pnpm. There are two ways:

    1. With asdf version manager:
      1. Install asdf and asdf plugins for Node.js and pnpm
      2. Run asdf install
    2. Manually (check needed versions in .tool-versions)
  2. Install dependencies:

    pnpm install
  3. Run local server:

    pnpm start

We recommend to install Prettier and EditorConfig plugins to your text editor.

oklch-picker's People

Contributors

ai avatar bijela-gora avatar dkryaklin avatar muddv avatar monochromer avatar sashachabin avatar bogdan-tsechoev avatar kepstin avatar gregermendle avatar redly avatar notsidney avatar mikhin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.