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

https://github.com/danedwardsdeveloper/css-named-colours

A simple web page demonstrating all the CSS named colours
https://github.com/danedwardsdeveloper/css-named-colours

Last synced: about 1 year ago
JSON representation

A simple web page demonstrating all the CSS named colours

Awesome Lists containing this project

README

          

# Named CSS Colours Web Page

**A simple demonstration of all the named CSS colour values.**

## [Live preview](https://danedwardsdeveloper.github.io/CSS-Named-Colours/)

![CSS colours screenshot](./assets/images/screenshot.png)

- Uses column-count for layout. I recently discovered this CSS feature, and it's great for creating responsive sites with only a few lines of code.
- Uses JavaScript to create the colour cards from an array of named colours
- Each card is a button that copies the colour name when clicked

### Acknowledgements

- Thanks to [
Reinis Ivanovs](https://gist.github.com/slikts) for the [JavaScript array of colour names](https://gist.github.com/slikts/cfa5bb0ad340b6e01dd711f20a419aec)