๐ŸŒ
W3Schools
w3schools.com โ€บ colors โ€บ colors_picker.asp
HTML Color Picker
HTML CSS JAVASCRIPT SQL PYTHON ... AWS CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING INTRO TO HTML & CSS BASH RUST ยท Colors HOME Color Names Color Values Color Groups Color Shades Color Picker Color Mixer Color Converter Color RGB Color HEX Color HSL Color HWB Color ...
๐ŸŒ
HTML Color Codes
htmlcolorcodes.com โ€บ color-picker
Color Picker โ€“ HTML Color Codes
Our color picker lets you select from the millions of available colors, finding hex codes (or RGB, HSL, HSV and OKLCH codesโ€ฆ but more on that later).
๐ŸŒ
FFFuel
fffuel.co โ€บ cccolor
cccolor: HEX, RGB & HSL color picker for HTML & CSS | fffuel
Simple online color picker for web designers, with color values automagically available as RGB, HSL, hex, or 8-digit hex (with alpha). Perfect for CSS and HTML.
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ CSS โ€บ CSS_colors โ€บ Color_picker_tool
Color picker tool - CSS | MDN - Mozilla
This tool lets you enter or pick a color and copy its corresponding value in any CSS color format. You can use the generated color value anywhere the data type is supported in CSS. This tool can also help you understand the syntax of the different color notations.
๐ŸŒ
HTML Color Codes
htmlcolorcodes.com
HTML Color Codes
Find that perfect color with our color picker and discover beautiful color harmonies, tints, shades and tones; input Hex color codes, RGB and HSL values, and generate HTML, CSS and SCSS styles.Pick a colorTry it
๐ŸŒ
Image Color Picker
imagecolorpicker.com โ€บ en
๐Ÿ‘ Color Picker online | HEX Color Picker | HTML Color Picker
Color Picker:Color Picker: With this online tool you can upload an image or provide a website URL and get the RGB Color, HEX Color and HSL Color code. ๐Ÿ‘
๐ŸŒ
Coolors
coolors.co
Coolors - The super fast color palettes generator!
Color Picker Get useful color information like meaning, usage, variations, accessibility and conversion. Launch the color picker ยท Tailwind Colors Preview Tailwind CSS colors on real designs to see how they look in context before using them in your projects.
๐ŸŒ
WebFX
webfx.com โ€บ home โ€บ web design โ€บ color picker tool | free hex color picker by webfx
Color Picker Tool | Free HEX Color Picker by WebFX
This tool will then attempt to read that websites HTML and CSS files to find all of the HEX color codes. ... This free HTML color selector is the ultimate web design tool. You can easily generate cohesive, harmonious color schemes by using the complementary, triade, tetrade, and analogic options up top, or you can create your own color palette from scratch by using the RGB color picker functionality and saving your preferred colors to the palette on the right hand side of the tool.
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ create-color-picker-using-html-css-and-javascript
How to Create A Color Picker Tool Using HTML, CSS, and JavaScript
August 15, 2024 - Have you ever wanted to create your own interactive tools using just HTML, CSS, and JavaScript? In this article, we'll create a fun and straightforward project: a color picker tool. This handy little tool will let users select any color they like and...
Find elsewhere
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ CSS โ€บ CSS_Colors โ€บ Color_picker_tool
Color picker tool - CSS: Cascading Style Sheets | MDN
This tool lets you enter or pick a color and copy its corresponding value in any CSS color format. You can use the generated color value anywhere the <color> data type is supported in CSS.
๐ŸŒ
HTML CSS Color
htmlcsscolor.com
HTML CSS Color Online color library: HEX, RGB, HSL, CMYK - HtmlCssColor
Explore HTML and CSS color names with HEX, RGB, and HSL codes. Preview colors, generate palettes, check contrast, and improve your web design.
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ HTML โ€บ Reference โ€บ Elements โ€บ input โ€บ color
<input type="color"> - HTML | MDN
<input> elements of type color provide a user interface element that lets a user specify a color, either by using a visual color picker interface or by entering the color into a text field in a CSS color value format.
๐ŸŒ
Chrome Web Store
chromewebstore.google.com โ€บ detail โ€บ colorzilla โ€บ bhlhnicpbhignbdhedgjhgdocnmhomnp
ColorZilla - Chrome Web Store
== Features == โœ“ Eyedropper - get the color of any pixel on the page โœ“ Advanced Color Picker (similar to Photoshop's) โœ“ Ultimate CSS Gradient Generator โœ“ Webpage Color Analyzer - get a color palette for any site โœ“ Palette Viewer with 7 pre-installed palettes โœ“ Color History of recently picked colors โœ“ Various sampling sizes - 1x1, 3x3, 5x5, 11x11 and 25x25 pixels โœ“ Sample average color of any selected area โœ“ Displays element information like tag name, class, id, size etc.
๐ŸŒ
Csscolor
csscolor.ru โ€บ en
HTML CSS Color picker
Link to repository: https://gitlab.com/avo1kov/csscolor ยท Color picker helps you pick a color in HEX, RGB, RGBA, CMYK and HSV color model record. Click on the field of color selection, and for a more precise selection, move the cursor while ...
๐ŸŒ
Quackit
quackit.com โ€บ css โ€บ css_color_codes.cfm
CSS Color Codes
Use the following color picker or color charts to pick a color that you can use within your CSS code. The color picker provides the color values in hexadecimal and RGB.
๐ŸŒ
CSS Script
cssscript.com โ€บ home โ€บ color picker
Best Free Color Picker In JavaScript & CSS - CSS Script
20+ best free color picker components implemented in vanilla JavaScript and/or pure CSS/CSS3.
Top answer
1 of 6
26

Option #1 - Native HTML Color Picker

As mentioned in the previous answers you can use Native HTML color picker element:

<input type="color" />

For more info see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color

Option #2 - 3rd party Color Picker

If the Native color picker not meet your criteria, since it has an obsolete look and not look as slick as modern Color-Pickers, you can use one of literally hundreds of color pickers on the web. Even a simple search on the NPM packages page will return a few hundreds results to pick from.
https://www.npmjs.com/search?q=color%20picker

Option #3 - Build your own Color-Picker

If you like me, and after a long search of color-picker library, you didn't find a picker that meet your criteria, you can build you color picker, which not take too long as I will demonstrate.

  1. Find a Color-Wheel image that will be your picker, for example:
    (a more complex colors-wheel probable needed in real application)

  2. In your .html file, create a canvas element.

<canvas id="colorCanvas" class="color-canvas" width="250" height="250"></canvas>
  1. Give the canvas element border-radius: 50%, this will make the canvas round, so only clicks inside the circle will be fired, and clicks in the edge will be ignored (we will need click event in the next steps).

  2. In your JavaScript, init the canvas with your color-picker image, and listen to click events

function initColorPicker()
{
    var canvasEl = document.getElementById('colorCanvas');
    var canvasContext = canvasEl.getContext('2d');

    var image = new Image(250, 250);
    image.onload = () => canvasContext.drawImage(image, 0, 0, image.width, image.height); 
    image.src = "./images/myColorPickerImage.png";

    canvasEl.onclick = function(mouseEvent) 
    {
      var imgData = canvasContext.getImageData(mouseEvent.offsetX, mouseEvent.offsetY, 1, 1);
      var rgba = imgData.data;

      alert("rgba(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2] + ", " + rgba[3] + ")");
    }
}
2 of 6
18

You can simply create a color picker by <input> with type as color. But it works only in modern browsers.

<input name="Color Picker" type="color"/>
๐ŸŒ
Chrome Web Store
chromewebstore.google.com โ€บ detail โ€บ color-picker-for-chrome โ€บ clldacgmdnnanihiibdgemajcfkmfhia
Color Picker for Chromeโ„ข - Chrome Web Store
An easy-to-use font inspector to get CSS styles of the selected element ... Average rating 4.6 out of 5 stars. Learn more about results and reviews. Advanced Eyedropper, Color Picker, Gradient Generator and other colorful goodies
๐ŸŒ
Csscolorpicker
csscolorpicker.com
Free CSS Color Picker Tool | Hex, RGB & HSL Generator
Generate CSS colors instantly with our free online picker. Get HEX, RGB, HSL codes for web design โ€“ fast and easy!
๐ŸŒ
RedKetchup
redketchup.io โ€บ color-picker
Color Picker - Color from Image, HEX, RGB, HTML | RedKetchup
Pick colors from an image, sampler, or spectrum. Convert HEX, RGB, HSL, HSV, CMYK, HTML/CSS colors. Select colors from a PNG, JPEG, WEBP, HEIC, GIF, ICO, TIFF, BMP, or SVG image.