fcarlosmonteiro / colors-evolution

The colors-evolution project presents an algorithm to generate color blind friendly palettes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color Palette Generator for Color Blindness using Hill Climbing Algorithm

This project aims to provide a color palette generator that generates color schemes that are friendly for people with color blindness. The generator uses a hill climbing algorithm implemented in Python, along with the colormap and wcag libraries for generating and evaluating colors based on contrast ratio.

Requirements

This project requires the following dependencies to be installed:

  • Python 3.x
  • colormap library
  • wcag library

You can install these dependencies using pip, by running:

  • pip install colormap wcag

Preliminary Results

Here are some preliminary results generated by the color palette generator:

Input Image

Input image

Extracted Color Palette

Extracted

Generated Color Palette

Generated

The input image is a sample image that we want to generate a color palette for. The extracted color palette shows the colors that were extracted from the input image, while the generated color palette shows the colors generated by the hill climbing algorithm. As you can see in the preliminary results, the generated color palette is designed to be friendly for people with color blindness, while still preserving the essence of the original colors in the input image. However, this algorithm needs improvements to generate representative palettes for the brands as well.

About

The colors-evolution project presents an algorithm to generate color blind friendly palettes.


Languages

Language:Python 100.0%