Package edu.wpi.first.wpilibj.util
Class Color
java.lang.Object
edu.wpi.first.wpilibj.util.Color
public class Color extends Object
Represents colors.
Limited to 12 bits of precision.
-
Field Summary
Fields Modifier and Type Field Description double
blue
double
green
static Color
kAliceBlue
0xF0F8FF.static Color
kAntiqueWhite
0xFAEBD7.static Color
kAqua
0x00FFFF.static Color
kAquamarine
0x7FFFD4.static Color
kAzure
0xF0FFFF.static Color
kBeige
0xF5F5DC.static Color
kBisque
0xFFE4C4.static Color
kBlack
0x000000.static Color
kBlanchedAlmond
0xFFEBCD.static Color
kBlue
0x0000FF.static Color
kBlueViolet
0x8A2BE2.static Color
kBrown
0xA52A2A.static Color
kBurlywood
0xDEB887.static Color
kCadetBlue
0x5F9EA0.static Color
kChartreuse
0x7FFF00.static Color
kChocolate
0xD2691E.static Color
kCoral
0xFF7F50.static Color
kCornflowerBlue
0x6495ED.static Color
kCornsilk
0xFFF8DC.static Color
kCrimson
0xDC143C.static Color
kCyan
0x00FFFF.static Color
kDarkBlue
0x00008B.static Color
kDarkCyan
0x008B8B.static Color
kDarkGoldenrod
0xB8860B.static Color
kDarkGray
0xA9A9A9.static Color
kDarkGreen
0x006400.static Color
kDarkKhaki
0xBDB76B.static Color
kDarkMagenta
0x8B008B.static Color
kDarkOliveGreen
0x556B2F.static Color
kDarkOrange
0xFF8C00.static Color
kDarkOrchid
0x9932CC.static Color
kDarkRed
0x8B0000.static Color
kDarkSalmon
0xE9967A.static Color
kDarkSeaGreen
0x8FBC8F.static Color
kDarkSlateBlue
0x483D8B.static Color
kDarkSlateGray
0x2F4F4F.static Color
kDarkTurquoise
0x00CED1.static Color
kDarkViolet
0x9400D3.static Color
kDeepPink
0xFF1493.static Color
kDeepSkyBlue
0x00BFFF.static Color
kDenim
0x1560BD.static Color
kDimGray
0x696969.static Color
kDodgerBlue
0x1E90FF.static Color
kFirebrick
0xB22222.static Color
kFirstBlue
0x0066B3.static Color
kFirstRed
0xED1C24.static Color
kFloralWhite
0xFFFAF0.static Color
kForestGreen
0x228B22.static Color
kFuchsia
0xFF00FF.static Color
kGainsboro
0xDCDCDC.static Color
kGhostWhite
0xF8F8FF.static Color
kGold
0xFFD700.static Color
kGoldenrod
0xDAA520.static Color
kGray
0x808080.static Color
kGreen
0x008000.static Color
kGreenYellow
0xADFF2F.static Color
kHoneydew
0xF0FFF0.static Color
kHotPink
0xFF69B4.static Color
kIndianRed
0xCD5C5C.static Color
kIndigo
0x4B0082.static Color
kIvory
0xFFFFF0.static Color
kKhaki
0xF0E68C.static Color
kLavender
0xE6E6FA.static Color
kLavenderBlush
0xFFF0F5.static Color
kLawnGreen
0x7CFC00.static Color
kLemonChiffon
0xFFFACD.static Color
kLightBlue
0xADD8E6.static Color
kLightCoral
0xF08080.static Color
kLightCyan
0xE0FFFF.static Color
kLightGoldenrodYellow
0xFAFAD2.static Color
kLightGray
0xD3D3D3.static Color
kLightGreen
0x90EE90.static Color
kLightPink
0xFFB6C1.static Color
kLightSalmon
0xFFA07A.static Color
kLightSeaGreen
0x20B2AA.static Color
kLightSkyBlue
0x87CEFA.static Color
kLightSlateGray
0x778899.static Color
kLightSteelBlue
0xB0C4DE.static Color
kLightYellow
0xFFFFE0.static Color
kLime
0x00FF00.static Color
kLimeGreen
0x32CD32.static Color
kLinen
0xFAF0E6.static Color
kMagenta
0xFF00FF.static Color
kMaroon
0x800000.static Color
kMediumAquamarine
0x66CDAA.static Color
kMediumBlue
0x0000CD.static Color
kMediumOrchid
0xBA55D3.static Color
kMediumPurple
0x9370DB.static Color
kMediumSeaGreen
0x3CB371.static Color
kMediumSlateBlue
0x7B68EE.static Color
kMediumSpringGreen
0x00FA9A.static Color
kMediumTurquoise
0x48D1CC.static Color
kMediumVioletRed
0xC71585.static Color
kMidnightBlue
0x191970.static Color
kMintcream
0xF5FFFA.static Color
kMistyRose
0xFFE4E1.static Color
kMoccasin
0xFFE4B5.static Color
kNavajoWhite
0xFFDEAD.static Color
kNavy
0x000080.static Color
kOldLace
0xFDF5E6.static Color
kOlive
0x808000.static Color
kOliveDrab
0x6B8E23.static Color
kOrange
0xFFA500.static Color
kOrangeRed
0xFF4500.static Color
kOrchid
0xDA70D6.static Color
kPaleGoldenrod
0xEEE8AA.static Color
kPaleGreen
0x98FB98.static Color
kPaleTurquoise
0xAFEEEE.static Color
kPaleVioletRed
0xDB7093.static Color
kPapayaWhip
0xFFEFD5.static Color
kPeachPuff
0xFFDAB9.static Color
kPeru
0xCD853F.static Color
kPink
0xFFC0CB.static Color
kPlum
0xDDA0DD.static Color
kPowderBlue
0xB0E0E6.static Color
kPurple
0x800080.static Color
kRed
0xFF0000.static Color
kRosyBrown
0xBC8F8F.static Color
kRoyalBlue
0x4169E1.static Color
kSaddleBrown
0x8B4513.static Color
kSalmon
0xFA8072.static Color
kSandyBrown
0xF4A460.static Color
kSeaGreen
0x2E8B57.static Color
kSeashell
0xFFF5EE.static Color
kSienna
0xA0522D.static Color
kSilver
0xC0C0C0.static Color
kSkyBlue
0x87CEEB.static Color
kSlateBlue
0x6A5ACD.static Color
kSlateGray
0x708090.static Color
kSnow
0xFFFAFA.static Color
kSpringGreen
0x00FF7F.static Color
kSteelBlue
0x4682B4.static Color
kTan
0xD2B48C.static Color
kTeal
0x008080.static Color
kThistle
0xD8BFD8.static Color
kTomato
0xFF6347.static Color
kTurquoise
0x40E0D0.static Color
kViolet
0xEE82EE.static Color
kWheat
0xF5DEB3.static Color
kWhite
0xFFFFFF.static Color
kWhiteSmoke
0xF5F5F5.static Color
kYellow
0xFFFF00.static Color
kYellowGreen
0x9ACD32.double
red
-
Constructor Summary
-
Method Summary
-
Field Details
-
red
-
green
-
blue
-
kDenim
0x1560BD. -
kFirstBlue
0x0066B3. -
kFirstRed
0xED1C24. -
kAliceBlue
0xF0F8FF. -
kAntiqueWhite
0xFAEBD7. -
kAqua
0x00FFFF. -
kAquamarine
0x7FFFD4. -
kAzure
0xF0FFFF. -
kBeige
0xF5F5DC. -
kBisque
0xFFE4C4. -
kBlack
0x000000. -
kBlanchedAlmond
0xFFEBCD. -
kBlue
0x0000FF. -
kBlueViolet
0x8A2BE2. -
kBrown
0xA52A2A. -
kBurlywood
0xDEB887. -
kCadetBlue
0x5F9EA0. -
kChartreuse
0x7FFF00. -
kChocolate
0xD2691E. -
kCoral
0xFF7F50. -
kCornflowerBlue
0x6495ED. -
kCornsilk
0xFFF8DC. -
kCrimson
0xDC143C. -
kCyan
0x00FFFF. -
kDarkBlue
0x00008B. -
kDarkCyan
0x008B8B. -
kDarkGoldenrod
0xB8860B. -
kDarkGray
0xA9A9A9. -
kDarkGreen
0x006400. -
kDarkKhaki
0xBDB76B. -
kDarkMagenta
0x8B008B. -
kDarkOliveGreen
0x556B2F. -
kDarkOrange
0xFF8C00. -
kDarkOrchid
0x9932CC. -
kDarkRed
0x8B0000. -
kDarkSalmon
0xE9967A. -
kDarkSeaGreen
0x8FBC8F. -
kDarkSlateBlue
0x483D8B. -
kDarkSlateGray
0x2F4F4F. -
kDarkTurquoise
0x00CED1. -
kDarkViolet
0x9400D3. -
kDeepPink
0xFF1493. -
kDeepSkyBlue
0x00BFFF. -
kDimGray
0x696969. -
kDodgerBlue
0x1E90FF. -
kFirebrick
0xB22222. -
kFloralWhite
0xFFFAF0. -
kForestGreen
0x228B22. -
kFuchsia
0xFF00FF. -
kGainsboro
0xDCDCDC. -
kGhostWhite
0xF8F8FF. -
kGold
0xFFD700. -
kGoldenrod
0xDAA520. -
kGray
0x808080. -
kGreen
0x008000. -
kGreenYellow
0xADFF2F. -
kHoneydew
0xF0FFF0. -
kHotPink
0xFF69B4. -
kIndianRed
0xCD5C5C. -
kIndigo
0x4B0082. -
kIvory
0xFFFFF0. -
kKhaki
0xF0E68C. -
kLavender
0xE6E6FA. -
kLavenderBlush
0xFFF0F5. -
kLawnGreen
0x7CFC00. -
kLemonChiffon
0xFFFACD. -
kLightBlue
0xADD8E6. -
kLightCoral
0xF08080. -
kLightCyan
0xE0FFFF. -
kLightGoldenrodYellow
0xFAFAD2. -
kLightGray
0xD3D3D3. -
kLightGreen
0x90EE90. -
kLightPink
0xFFB6C1. -
kLightSalmon
0xFFA07A. -
kLightSeaGreen
0x20B2AA. -
kLightSkyBlue
0x87CEFA. -
kLightSlateGray
0x778899. -
kLightSteelBlue
0xB0C4DE. -
kLightYellow
0xFFFFE0. -
kLime
0x00FF00. -
kLimeGreen
0x32CD32. -
kLinen
0xFAF0E6. -
kMagenta
0xFF00FF. -
kMaroon
0x800000. -
kMediumAquamarine
0x66CDAA. -
kMediumBlue
0x0000CD. -
kMediumOrchid
0xBA55D3. -
kMediumPurple
0x9370DB. -
kMediumSeaGreen
0x3CB371. -
kMediumSlateBlue
0x7B68EE. -
kMediumSpringGreen
0x00FA9A. -
kMediumTurquoise
0x48D1CC. -
kMediumVioletRed
0xC71585. -
kMidnightBlue
0x191970. -
kMintcream
0xF5FFFA. -
kMistyRose
0xFFE4E1. -
kMoccasin
0xFFE4B5. -
kNavajoWhite
0xFFDEAD. -
kNavy
0x000080. -
kOldLace
0xFDF5E6. -
kOlive
0x808000. -
kOliveDrab
0x6B8E23. -
kOrange
0xFFA500. -
kOrangeRed
0xFF4500. -
kOrchid
0xDA70D6. -
kPaleGoldenrod
0xEEE8AA. -
kPaleGreen
0x98FB98. -
kPaleTurquoise
0xAFEEEE. -
kPaleVioletRed
0xDB7093. -
kPapayaWhip
0xFFEFD5. -
kPeachPuff
0xFFDAB9. -
kPeru
0xCD853F. -
kPink
0xFFC0CB. -
kPlum
0xDDA0DD. -
kPowderBlue
0xB0E0E6. -
kPurple
0x800080. -
kRed
0xFF0000. -
kRosyBrown
0xBC8F8F. -
kRoyalBlue
0x4169E1. -
kSaddleBrown
0x8B4513. -
kSalmon
0xFA8072. -
kSandyBrown
0xF4A460. -
kSeaGreen
0x2E8B57. -
kSeashell
0xFFF5EE. -
kSienna
0xA0522D. -
kSilver
0xC0C0C0. -
kSkyBlue
0x87CEEB. -
kSlateBlue
0x6A5ACD. -
kSlateGray
0x708090. -
kSnow
0xFFFAFA. -
kSpringGreen
0x00FF7F. -
kSteelBlue
0x4682B4. -
kTan
0xD2B48C. -
kTeal
0x008080. -
kThistle
0xD8BFD8. -
kTomato
0xFF6347. -
kTurquoise
0x40E0D0. -
kViolet
0xEE82EE. -
kWheat
0xF5DEB3. -
kWhite
0xFFFFFF. -
kWhiteSmoke
0xF5F5F5. -
kYellow
0xFFFF00. -
kYellowGreen
0x9ACD32.
-
-
Constructor Details
-
Method Details