Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yingjia-z/color-editor

A color swatch editor with multi-format color display.
https://github.com/yingjia-z/color-editor

jsx preact typescript

Last synced: 6 days ago
JSON representation

A color swatch editor with multi-format color display.

Awesome Lists containing this project

README

        

# Color Swatch Editor

#### Developed in HTML, CSS and Typescript.

## Features and Usage

- **Swatch Management:** Begin with 10 randomly generated color swatches. Adjust the palette by adding or removing swatches, with a limit of 1 to 16.
- **Color Adjustment:** Use interactive rectangles for precise control of hue, saturation, and luminosity. Adjustments can be made through sliders, text fields, and by clicking directly on the rectangles.
- **Multiple Color Formats:** Switch between HSL, RGB, and HEX formats to accommodate different needs. Each swatch can be edited in any of these formats.
- **Modify:** Interact with any swatch to modify its properties.

https://github.com/Yingjia-Z/color-editor/assets/85412717/2cd5acd0-a789-4f30-8a5a-a380b1e477e9

## Installation:

To get started with this editor, you'll need to:

- Clone this repository:

```
git clone https://github.com/Yingjia-Z/color-editor.git
cd color-editor
npm install
```

- Run the editor and open the localhost URL in your browser:

```
npm run dev
```

## Note:
The method for creating gradient color in Saturation-Luminance square is referenced on the following website:

https://www.joshwcomeau.com/css/make-beautiful-gradients/