The idea came to me while reading this article about color harmony and their hexadecimal values written by Ben Gremillion.
Now we have a working main...only in the happy path.
Unlike the rest of the modules, the main and the web opener weren't tested nor their input's validated. Keep in mind that we're going to open your browser on this EXTERNAL web to show the colors.
To fully understand the algorithm, you can open this article on which the project is based.
All the color mixes described the were covered in this repo.
- Start with HexColor class (in hex_color.py)
- Once you know how the colors work, continue with Palettes (palette.py)
Given a origin color, return a palette adding matching ones.
Match a color those two ways.
Receives a primary or secondary color, and returns the matching duet choosing from the matching hues the reddest | purplest | greenest | etc
Now adding functionality to auto generate a tagged palette to be used in a design system.
Dict with functional keys and colors as value.
- Primary, Secondary
- Dark Background, Dark Text, Dark Muted
- Light Background, Light Text, Light Muted
- Warning, Danger, Success
- etc.