Giter Club home page Giter Club logo

color-picker's Introduction

Color Picker Netlify Status

Description

This is a React web app written in TypeScript. It utilizes the Eye Dropper Web API to determine what colors are in an image. I built this application in an effort to understand how applications like Figma and the ColorPick EyeDropper chrome extension are able to determine what colors are displayed on your screen. As it turns out, it is fairly easy.

How It Works

This app allows you to upload images and by using the Eye Dropper Web API you are able create an eye dropper instance to sample pixels on your screen and determine what colors are in the uploaded image. Because the eye dropper is not limited to sampling pixels in the browser, it can also be used to sample pixels outside of the browser. Once a color is selected it returns the value in Hex and RGB values.

Give it a try here!

Languages Used

TypeScript HTML5

Libraries & Frameworks Used

Vite React Tailwind CSS

Linters Used

ESLINT Prettier

Design Tools Used

Figma

Other Technologies used

Git GitHub Netlify

Materials Referenced

MDN - EyeDropper API

Image used in this project

Pink and Blue Abstract Painting - Pawel Czerwinski

color-picker's People

Contributors

nestorv95 avatar

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.