You can generate color codes via a code generator(Alt + Ins).
Color...
new Color(r, g, b)
)<dependency>
<groupId>com.junichi11.netbeans.modules</groupId>
<artifactId>netbeans-color-codes-preview</artifactId>
<version>0.13.4</version>
<type>nbm</type>
</dependency>
libraryDependencies += "com.junichi11.netbeans.modules" % "netbeans-color-codes-preview" % "0.13.4"
@Grapes(
@Grab(group='com.junichi11.netbeans.modules', module='netbeans-color-codes-preview', version='0.13.4')
)
<dependency org="com.junichi11.netbeans.modules" name="netbeans-color-codes-preview" rev="0.13.4" />
compile
|-- org.netbeans.api:org-netbeans-api-annotations-common:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-lib2:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-lib:RELEASE110
|-- org.netbeans.api:org-openide-util:RELEASE110
|-- org.netbeans.api:org-openide-util-ui:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-mimelookup:RELEASE110
|-- org.netbeans.api:org-openide-util-lookup:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-settings:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor:RELEASE110
|-- org.netbeans.api:org-openide-dialogs:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-fold:RELEASE110
|-- org.netbeans.api:org-openide-text:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-options-api:RELEASE110
|-- org.netbeans.api:org-openide-awt:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-document:RELEASE110
|-- org.netbeans.api:org-openide-modules:RELEASE110
test