Java Color class (e.g. Color.black, new Color(100, 100, 100))
Multiple colors
Show top two colors in a sidebar if there are multiple colors in a line.
If you want to check all colors, please click a specific rectangle. They will be shown as a list.
Change a color using the color chooser
Click a colored rectangle
Click a color value of a list
Select a new color in the color chooser
An old color value will be changed to new one with the same format
Generate color codes
You can generate color codes via a code generator(Alt + Ins).
Run a code generator(Alt + Ins)
Choose Color...
Choose format you expect (e.g. new Color(r, g, b))
Choose a color
Click the OK button
A color code is generated at the caret position
Options
Tools > Options > Miscellaneous > Color Codes Preview
Regex for enabled mime-types for Hex and CSS colors
Default value is `^text/(x-)?(css|less|sass|scss)$`.
If you would like to disable/enable some mime-types, please change the default regex.
This pattern is used when the plugin checks a mime-type.
Named Colors
This option is `false` by default. If you would like to show named colors, please check it.
NOTE
If you would like to show colors of `Color.decode()` e.g. `Color.decode(#000000)`, Please add `java` to "Regex for enabled mime-types" of Hex and CSS e.g. (`^text/(x-)?(css|less|sass|scss|java)$`)
Colors may be shown if they are not color codes. e.g. "#feature" contains #fea. This plugin recognizes it as a hex color code.
If you use the GTK Look and Feel, you cannot change an alpha value in the color chooser.
Hsl or hsla color values may not be changed correctly when you use the color chooser. (There may be 1% errors.)