Skip to content

Commit a0deed8

Browse files
Explain the new ColorType a bit more
1 parent 58d8aa3 commit a0deed8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

reference/forms/types/color.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ ColorType Field
55
===============
66

77
The ``ColorType`` field is a text field that is rendered using the HTML5
8-
``<input type="color">`` tag.
8+
``<input type="color">`` tag. Depending on each browser, the behavior of this
9+
form field can vary substantially. Some browsers display it as a simple text
10+
field, while others display a native color picker.
11+
12+
The value of the underlying ``<input type="color">`` field is always a
13+
7-character string specifying an RGB color in lower case hexadecimal notation.
14+
That's why it's not possible to select semi-transparent colors with this
15+
element.
916

1017
+-------------+---------------------------------------------------------------------+
1118
| Rendered as | ``input`` ``color`` field (a text box) |

0 commit comments

Comments
 (0)