Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/barbwire-1/color-palette-generator

This is a color Palette Generator . It started as a proof of concept to use CSS variables only for calculating colors. The h, s, l can be changed with a range input. Five colors get created by setting the steps to the next hue in degree (rotation). Finally the created palette can be saved.
https://github.com/barbwire-1/color-palette-generator

color-palette color-palette-generator colors css-variables

Last synced: 3 days ago
JSON representation

This is a color Palette Generator . It started as a proof of concept to use CSS variables only for calculating colors. The h, s, l can be changed with a range input. Five colors get created by setting the steps to the next hue in degree (rotation). Finally the created palette can be saved.

Awesome Lists containing this project

README

        

![Static Badge](https://img.shields.io/badge/Javascript-43%25-yellow)
![Static Badge](https://img.shields.io/badge/CSS-39%25-blue)
![Static Badge](https://img.shields.io/badge/HTML-18%25-red)

![Static Badge](https://img.shields.io/badge/LICENSE-MIT-lightgreen)



# Color Palette Generator

## Description

This is a color Palette Generator . It started as a proof of concept to use CSS variables only for calculating colors. The h, s, l can be changed with a range input. Five colors get created by setting the steps to the next hue in degree (rotation). Rightclick on one of the color-buttons saves the hex code to the clipboard.

Finally the created palette can be saved as an html-file including all the colorblocks and a textfield with corresponding rgb, hex and hsl-code.

## Table of Contents

* [Installation](#Installation)
* [Usage](#Usage)
* [License](#license)
* [Questions](#Questions)

***
![color-palette generator](screenshot_color_palette.png)

## An example output
![color-palette image](my-color-palette.png)

***
## Installation

As it's a little standalone just play with it. Open a running app on netlify by clicking this button:

[![Netlify Status](https://api.netlify.com/api/v1/badges/fdefa180-9791-4d4f-8fc1-1bb9b065e75a/deploy-status)](https://css-color-palette-generator.netlify.app/)

## Usage

Use the sliders to see how changing one of h,s,l changes the palette. It helped me a lot to understand mathemacial correlations in colors - which I very long just refused to "understand".
... and have fun!

License
MIT License

Copyright (c) 2023 BarbWire-1

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE..






## Questions

If you have any questions about the project you can reach out to me on GitHub with the information below.

>GitHub : [BarbWire-1](https://github.com/BarbWire-1)