Skip to content

Eric-exe/PaletteBlendr

Repository files navigation

License Website

Your one-stop shop for all your color and palette blending needs!

Ever had an existing palette that you wish had one more color? This website takes care of that. While most websites support creating gradients between two colors, this website allows you to create palettes with gradients along multiple colors. It supports many color interpolation methods, from the traditional RGB and HSV, to LCHab and LCHuv, to LAB and XYZ.

See all the possible interpolations below or by running

python -m example

Website

API

Interpolate your own colors

POST /api/color_lerp
Parameter Type Description
colors array Required. The colors to interpolate between. It has to be in HEX.
new_size int Required. The size of the new palette.

Run Locally

Clone the project

  git clone https://github.com/EricLin-jpg/PaletteBlendr.git

Go to the project directory

  cd PaletteBlendr

Docker

To run this project with Docker, you will need to install Docker and Docker Compose.

Build the Docker image

  docker-compose build

Start the Docker container

  docker-compose up

Python

If you do not want to use Docker, you can run this project with Python.

Install dependencies

  pip install -r requirements.txt

Start the server

  python -m app

Built With

Frontend: Bootstrap, JQuery

Color Picker: Pickr

Backend: Flask