Color for Javascript

Learn More

Color picker component with single and multiple color selection. Refine luminosity with a slider when necessary.

Use it for filtering and anywhere where users need to pick colors.

Shipping with useful features for a refined UX, including:

  • Usage on mobile and desktop
  • Single and multiple select
  • Refine luminosity
  • List any number of color presets
  • Multiple theme support
  • Modal, popup and inline display support
  • RTL Support
  • Full localization and microcopy



As part of Pickers & dropdowns it can be picked up with the Framework and Complete licenses or with the component license.


Color demos available for other frameworks.

Viewing demos & code for

Javascript Color Color for Javascript

Color - Single/multiple select

Change demo
Single/multiple select
Get started with this example
Javascript Single and multiple color select from a predefined set of colors. Custom set can be used. With source code. Plain JS api for usage everywhere.

Color - Swipe direction

Change demo
Javascript Color picker demo with a predefined set of colors. Supporting both horizontal and vertical scrolling. With source code. Plain JS api for usage everywhere.

Color - Refine

Change demo
Javascript Color picker demo for selecting and setting the luminosity for a single color with a slider. For desktop & mobile. Plain JS api for usage everywhere.

Color - Custom colors

Change demo
Javascript Color picker demo with selection from a custom set of colors. Use it on both mobile & desktop. Plain JS api for usage everywhere.

Color - Multiple select count

Change demo
Multiple select count
Get started with this example
Javascript Multiple color select with a maximum of six available slots. Custom set can be used. Use it on desktop & mobile. Plain JS api for usage everywhere.

Color - Color format

Change demo
Javascript Color picker demo with support for value format in HEX, HSL and RGB. Return and work with the color value. Plain JS api for usage everywhere.

Color - Event handlers

Change demo
Javascript Color picker for mobile and desktop demo with event hooks for custom integration and functionality. Plain JS api for usage everywhere.
Clear event log
EVENTS FIRED: 

Color - Display modes

Change demo
Javascript Color picker for mobile and desktop with top, bottom, popup, center, modal, bubble and inline embeddable display. Plain JS api for usage everywhere.

Color - Desktop

Change demo
Javascript desktop color picker for the web. Interact on the UI with cursor & pointer for usage on not just touchscreens. Plain JS api for usage everywhere.

Color - Theming capabilities

Change demo
Theming capabilities
Get started with this example

The look and feel of the color can be deeply customized. There are four levels of customization:

  • Base themes: Choose between Mobiscroll, iOS, Android Material and Windows.
  • Light or dark: Every theme has a light and dark variant. Setting the themeVariant to 'auto' will switch based on system settings.
  • Custom themes: Use the theme builder to customize the colors and make it match your brand.
  • Custom CSS: If you need further customization, the sky is the limit with CSS overrides.

You can also see how every example looks by changing the theme from the header.

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Customize & try demos locally
Sign in or start your free trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
React
Other
Ionic Angular
Email address

Customize & try this demo locally
Sign in or start your free trial

We have to set you up with a trial for this to run 👍

Email address

Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic

You will be prompted to log in with your mobiscroll account. Set your password here

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

Step 3.Copy the code into your app.

Copy TS
Copy HTML
Copy CSS
Copy Module

Step 4.Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve

And voilà, everything should be running smoothly.

Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic

You will be prompted to log in with your mobiscroll account. Set your password here

Run this command for Ionic 5 & React Mobiscroll starter:

$ mobiscroll start ionic-react myStarter

Step 3.Copy the code into your app.

Copy TSX
Copy CSS

Step 4.Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve

And voilà, everything should be running smoothly.

Customize & try demos locally
How would you like to do it?
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Angular project

Copy command
$ mobiscroll config angular 

You will be prompted to log in with your mobiscroll account. Set your password here

Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

Copy TS
Copy HTML
Copy CSS
Copy Module

Step 4.Run ng serve in the root folder of your app 🎉

Copy command
$ ng serve

And voilà, everything should be running smoothly.

Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below
Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Please extract the zip file and run the project like any Angular CLI app. Make sure to have the Angular CLI installed.

For installation and usage, extract the zip file and open a terminal window and follow these steps.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ng serve --open

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy! 👍

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Alerts & notifications
Alert Notifications Note
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Windows
Windows Dark
Language Locale
See other demos and change options
Theme
Locale
See other demos