CARVIEW |
Select Language
HTTP/2 301
content-security-policy: script-src 'sha256-1az3CiAdXAaMP3TFl5msfrDjNuSHMdg1ecAgxfZPR50=' 'unsafe-inline' 'strict-dynamic'; object-src 'none'; base-uri 'none'; report-uri https://csp.withgoogle.com/csp/chromium-website/
location: /developers/design-documents/aura/ash-color-chooser/
content-type: text/plain; charset=utf-8
accept-ranges: bytes
date: Fri, 10 Oct 2025 23:13:14 GMT
x-served-by: cache-bom-vanm7210087-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760137994.362293,VS0,VE126
vary: x-fh-requested-host, accept-encoding
alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
content-length: 67
HTTP/2 200
cache-control: max-age=3600
content-encoding: gzip
content-security-policy: script-src 'sha256-1az3CiAdXAaMP3TFl5msfrDjNuSHMdg1ecAgxfZPR50=' 'unsafe-inline' 'strict-dynamic'; object-src 'none'; base-uri 'none'; report-uri https://csp.withgoogle.com/csp/chromium-website/
content-type: text/html; charset=utf-8
etag: "dbc1fbdc037d533acf90c19e2a0ca5aedb8a5c27756eff2064d5b5a384a3e0b3"
last-modified: Fri, 10 Oct 2025 02:31:02 GMT
strict-transport-security: max-age=31556926
accept-ranges: bytes
date: Fri, 10 Oct 2025 23:13:14 GMT
x-served-by: cache-bom-vanm7210087-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760137995.501984,VS0,VE142
vary: x-fh-requested-host, accept-encoding
alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
content-length: 2558
Ash Color Chooser

The Chromium Projects
Ash Color Chooser
## Overview
This document describes how to achieve <input type=”color”> UI in ChromeOS/Ash.
# Motivation
<input type=”color”> is a new input type introduced in HTML5. It enables users to pick a color and returns a value of #hhhhhh format. WebKit forms team has decided to use platform’s default color picker rather than implementing a new one. It means that we need to implement our own color picker view for ChromeOS/Ash.
# First Goal
-
Implement simple color picker dialog working with <input type=”color>.
-
Implement with views, not HTML.
-
Features
- Behave as Modal Dialog (see
doc)
- Appears in the topmost z-order
- Pick up a color from HSV model
- Has both a Hue bar and a Saturation-Value plane (see below mock).
- Pick up a color from text
- Allow copy/paste
- Specify the color by …
- rgb(xx ,yy, zz)
- #RRGGBB
- CSS well-known color name
- … anything else?
- Work on Chrome OS
- Behave as Modal Dialog (see
doc)
-
first mock
- Confirmed that the upper box isn’t necessary, since the color will be shown in the page.
-
Current screenshot:
# Next plans (not confirmed yet)
- Global Color Picker: Picking a color from any point on the
desktop.
- Even from other tab, window or desktop.
- “Favorite Color” feature
- Pick up the color easily from each user’s favorite color.
- Works on Windows and Chrome OS
- Currently, Windows has native OS Color PIcker Dialog. This new Color Picker will replace it.
# Not Goal
- Alpha value (transparency) support
- HTML5 spec has not supported alpha value.
# References
Input type=color spec: https://www.w3.org/TR/html-markup/input.color.html