JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3974
  • Score
    100M100P100Q129828F
  • License GPL-3.0-or-later

Simple web color picker with RGBA and #HEX support, which aims to stay super easy both for developers to install and for web users to use.

Package Exports

  • @eastdesire/jscolor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eastdesire/jscolor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jscolor - JavaScript Color Picker for RGBA/HEX colors

jscolor.js is a HEX and RGBA color picker with opacity (alpha channel).

It aims to stay super easy both for developers to install and for web users to use.

Installation in two lines

<script src="jscolor.js"></script>

Color: <input value="rgba(40,170,255,0.5)" data-jscolor="">

Usage examples

See http://jscolor.com/examples/

Documentation

Documentation can be found at https://jscolor.com/docs/

Features

  • No framework needed

    jscolor.js is a completely self-sufficient JavaScript library consisting of only one file. It doesn't need any frameworks (jQuery, Dojo, MooTools etc.) But it can certainly coexist alongside them.

  • Cross-browser

    All modern browsers are supported, including: Edge, Firefox, Chrome, Safari, Opera, Internet Explorer 10 and above, and others…

  • Highly customizable

    jscolor provides many configuration options. Whether you need to change color picker's size or colors, or attach a function to its onchange event, the configuration can be fine-tuned for your web project.

  • Mobile friendly

    With a built-in support for touch events, jscolor is designed to be easy to use on touch devices such as tablets and smartphones.

Website

For more info on jscolor project, see jscolor website