JavaScript is disabled on your browser.
Description
Nested Class Summary
Field Summary
Constructor Summary
Method Summary
Field Details
NAMES
Constructor Details
WebColors()
Method Details
getRGBColor(String)
getCMYKColor(String)
getCMYKArray(String)
getRGBAColor(String)
Nested Class Summary
Nested classes/interfaces inherited from interface Map
Map.Entry <K,V>
Field Summary
Fields
HashMap containing all the names and corresponding color values.
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Concrete Methods
static float[]
Gives an array of five floats that contain CMYK values and opacity, each value is between 0 and 1.
Gives you a DeviceCmyk based on a name.
static float[]
Gives an array of four floats that contain RGBA values, each value is between 0 and 1.
Gives you a DeviceRgb based on a name.
Methods inherited from class HashMap
clear , clone , compute , computeIfAbsent , computeIfPresent , containsKey , containsValue , entrySet , forEach , get , getOrDefault , isEmpty , keySet , merge , newHashMap , put , putAll , putIfAbsent , remove , remove , replace , replace , replaceAll , size , values