Code Monkey home page Code Monkey logo

colorbot's Introduction

ColorBot is your personal color assistant on the web

There are plenty of tools to work with colors on the web, but I wanted to build something like a swiss army knife for working with colors.

With ColorBot, you can:

  • Convert between Hexadecimal, RGBa, and HSLa
  • Create color palettes
  • Easily share color palettes
  • Quickly get tints and shades of a color
  • And even get a rough name for a color

Notes on development

This project was initially built for A 10k Apart. I built a basic PHP backend with a dash of Javascript here and there to enhance the experience. (It should still work great whether the Javascript loads or not.)

Built with accessibility in mind

First and foremost, I built ColorBot to be accessible. It will automatically suggest a color name to help colorblind and blind users get a rough idea of what color is being shown (in their palette, the selected color, and the tints and shades). I added accesskeys, skip links, and defined focus styles for easier keyboard navigation. And every time a new color is selected, I run a quick calculation to decide whether to show white or black text for the best contrast.

Looking to the future

I've really enjoyed building ColorBot and I want to continue improving it in the future. Here are a few things I'd love to improve:

  1. Database backend: I'd love to let people create and share multiple color palettes, "like" others palettes, etc. This is a lot easier with a database.
  2. Reorderable palettes: You can "hack" reordering now by changing the order of hex codes in a shared paletted, but I'd love to add drag and drop reordering to make it easier.
  3. Configurable thresholds: Right now, random color generation is hard-coded to match colors in a "flat" range (not too light, not too dark). I'd love to add a method for letting users choose different styles of colors (earthy, greys, pastels, all). I'd also love to add better tools for choosing custom tints and shades.
  4. Color naming can always be improved.

colorbot's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.