Enum Class Colors

java.lang.Object
java.lang.Enum<Colors>
io.deephaven.gui.color.Colors
All Implemented Interfaces:
Serializable, Comparable<Colors>, java.lang.constant.Constable

public enum Colors extends Enum<Colors>
Pre-defined Colors available by name. The colors are the named colors commonly supported by HTML browsers. Methods and colors moved from DBColorUtil to here. They are left in ColorUtil for backward compatibility. TODO (deephaven/deephaven-core/issues/175): Move this to a new module and package
  • Enum Constant Details

    • ALICEBLUE

      public static final Colors ALICEBLUE
    • ANTIQUEWHITE

      public static final Colors ANTIQUEWHITE
    • AQUA

      public static final Colors AQUA
    • AQUAMARINE

      public static final Colors AQUAMARINE
    • AZURE

      public static final Colors AZURE
    • BEIGE

      public static final Colors BEIGE
    • BISQUE

      public static final Colors BISQUE
    • BLACK

      public static final Colors BLACK
    • BLANCHEDALMOND

      public static final Colors BLANCHEDALMOND
    • BLUE

      public static final Colors BLUE
    • BLUEVIOLET

      public static final Colors BLUEVIOLET
    • BROWN

      public static final Colors BROWN
    • BURLYWOOD

      public static final Colors BURLYWOOD
    • CADETBLUE

      public static final Colors CADETBLUE
    • CHARTREUSE

      public static final Colors CHARTREUSE
    • CHOCOLATE

      public static final Colors CHOCOLATE
    • CORAL

      public static final Colors CORAL
    • CORNFLOWERBLUE

      public static final Colors CORNFLOWERBLUE
    • CORNSILK

      public static final Colors CORNSILK
    • CRIMSON

      public static final Colors CRIMSON
    • CYAN

      public static final Colors CYAN
    • DARKBLUE

      public static final Colors DARKBLUE
    • DARKCYAN

      public static final Colors DARKCYAN
    • DARKGOLDENROD

      public static final Colors DARKGOLDENROD
    • DARKGRAY

      public static final Colors DARKGRAY
    • DARKGREY

      public static final Colors DARKGREY
    • DARKGREEN

      public static final Colors DARKGREEN
    • DARKKHAKI

      public static final Colors DARKKHAKI
    • DARKMAGENTA

      public static final Colors DARKMAGENTA
    • DARKOLIVEGREEN

      public static final Colors DARKOLIVEGREEN
    • DARKORANGE

      public static final Colors DARKORANGE
    • DARKORCHID

      public static final Colors DARKORCHID
    • DARKRED

      public static final Colors DARKRED
    • DARKSALMON

      public static final Colors DARKSALMON
    • DARKSEAGREEN

      public static final Colors DARKSEAGREEN
    • DARKSLATEBLUE

      public static final Colors DARKSLATEBLUE
    • DARKSLATEGRAY

      public static final Colors DARKSLATEGRAY
    • DARKSLATEGREY

      public static final Colors DARKSLATEGREY
    • DARKTURQUOISE

      public static final Colors DARKTURQUOISE
    • DARKVIOLET

      public static final Colors DARKVIOLET
    • DEEPPINK

      public static final Colors DEEPPINK
    • DEEPSKYBLUE

      public static final Colors DEEPSKYBLUE
    • DIMGRAY

      public static final Colors DIMGRAY
    • DIMGREY

      public static final Colors DIMGREY
    • DODGERBLUE

      public static final Colors DODGERBLUE
    • FIREBRICK

      public static final Colors FIREBRICK
    • FLORALWHITE

      public static final Colors FLORALWHITE
    • FORESTGREEN

      public static final Colors FORESTGREEN
    • FUCHSIA

      public static final Colors FUCHSIA
    • GAINSBORO

      public static final Colors GAINSBORO
    • GHOSTWHITE

      public static final Colors GHOSTWHITE
    • GOLD

      public static final Colors GOLD
    • GOLDENROD

      public static final Colors GOLDENROD
    • GRAY

      public static final Colors GRAY
    • GREY

      public static final Colors GREY
    • GREEN

      public static final Colors GREEN
    • GREENYELLOW

      public static final Colors GREENYELLOW
    • HONEYDEW

      public static final Colors HONEYDEW
    • HOTPINK

      public static final Colors HOTPINK
    • INDIANRED

      public static final Colors INDIANRED
    • INDIGO

      public static final Colors INDIGO
    • IVORY

      public static final Colors IVORY
    • KHAKI

      public static final Colors KHAKI
    • LAVENDER

      public static final Colors LAVENDER
    • LAVENDERBLUSH

      public static final Colors LAVENDERBLUSH
    • LAWNGREEN

      public static final Colors LAWNGREEN
    • LEMONCHIFFON

      public static final Colors LEMONCHIFFON
    • LIGHTBLUE

      public static final Colors LIGHTBLUE
    • LIGHTCORAL

      public static final Colors LIGHTCORAL
    • LIGHTCYAN

      public static final Colors LIGHTCYAN
    • LIGHTGOLDENRODYELLOW

      public static final Colors LIGHTGOLDENRODYELLOW
    • LIGHTGRAY

      public static final Colors LIGHTGRAY
    • LIGHTGREY

      public static final Colors LIGHTGREY
    • LIGHTGREEN

      public static final Colors LIGHTGREEN
    • LIGHTPINK

      public static final Colors LIGHTPINK
    • LIGHTSALMON

      public static final Colors LIGHTSALMON
    • LIGHTSEAGREEN

      public static final Colors LIGHTSEAGREEN
    • LIGHTSKYBLUE

      public static final Colors LIGHTSKYBLUE
    • LIGHTSLATEGRAY

      public static final Colors LIGHTSLATEGRAY
    • LIGHTSLATEGREY

      public static final Colors LIGHTSLATEGREY
    • LIGHTSTEELBLUE

      public static final Colors LIGHTSTEELBLUE
    • LIGHTYELLOW

      public static final Colors LIGHTYELLOW
    • LIME

      public static final Colors LIME
    • LIMEGREEN

      public static final Colors LIMEGREEN
    • LINEN

      public static final Colors LINEN
    • MAGENTA

      public static final Colors MAGENTA
    • MAROON

      public static final Colors MAROON
    • MEDIUMAQUAMARINE

      public static final Colors MEDIUMAQUAMARINE
    • MEDIUMBLUE

      public static final Colors MEDIUMBLUE
    • MEDIUMORCHID

      public static final Colors MEDIUMORCHID
    • MEDIUMPURPLE

      public static final Colors MEDIUMPURPLE
    • MEDIUMSEAGREEN

      public static final Colors MEDIUMSEAGREEN
    • MEDIUMSLATEBLUE

      public static final Colors MEDIUMSLATEBLUE
    • MEDIUMSPRINGGREEN

      public static final Colors MEDIUMSPRINGGREEN
    • MEDIUMTURQUOISE

      public static final Colors MEDIUMTURQUOISE
    • MEDIUMVIOLETRED

      public static final Colors MEDIUMVIOLETRED
    • MIDNIGHTBLUE

      public static final Colors MIDNIGHTBLUE
    • MINTCREAM

      public static final Colors MINTCREAM
    • MISTYROSE

      public static final Colors MISTYROSE
    • MOCCASIN

      public static final Colors MOCCASIN
    • OLDLACE

      public static final Colors OLDLACE
    • OLIVE

      public static final Colors OLIVE
    • OLIVEDRAB

      public static final Colors OLIVEDRAB
    • ORANGE

      public static final Colors ORANGE
    • ORANGERED

      public static final Colors ORANGERED
    • ORCHID

      public static final Colors ORCHID
    • PALEGOLDENROD

      public static final Colors PALEGOLDENROD
    • PALEGREEN

      public static final Colors PALEGREEN
    • PALETURQUOISE

      public static final Colors PALETURQUOISE
    • PALEVIOLETRED

      public static final Colors PALEVIOLETRED
    • PAPAYAWHIP

      public static final Colors PAPAYAWHIP
    • PEACHPUFF

      public static final Colors PEACHPUFF
    • PERU

      public static final Colors PERU
    • PINK

      public static final Colors PINK
    • PLUM

      public static final Colors PLUM
    • POWDERBLUE

      public static final Colors POWDERBLUE
    • PURPLE

      public static final Colors PURPLE
    • REBECCAPURPLE

      public static final Colors REBECCAPURPLE
    • RED

      public static final Colors RED
    • ROSYBROWN

      public static final Colors ROSYBROWN
    • ROYALBLUE

      public static final Colors ROYALBLUE
    • SADDLEBROWN

      public static final Colors SADDLEBROWN
    • SALMON

      public static final Colors SALMON
    • SANDYBROWN

      public static final Colors SANDYBROWN
    • SEAGREEN

      public static final Colors SEAGREEN
    • SEASHELL

      public static final Colors SEASHELL
    • SIENNA

      public static final Colors SIENNA
    • SILVER

      public static final Colors SILVER
    • SKYBLUE

      public static final Colors SKYBLUE
    • SLATEBLUE

      public static final Colors SLATEBLUE
    • SLATEGRAY

      public static final Colors SLATEGRAY
    • SLATEGREY

      public static final Colors SLATEGREY
    • SNOW

      public static final Colors SNOW
    • SPRINGGREEN

      public static final Colors SPRINGGREEN
    • STEELBLUE

      public static final Colors STEELBLUE
    • TAN

      public static final Colors TAN
    • TEAL

      public static final Colors TEAL
    • THISTLE

      public static final Colors THISTLE
    • TOMATO

      public static final Colors TOMATO
    • TURQUOISE

      public static final Colors TURQUOISE
    • VIOLET

      public static final Colors VIOLET
    • WHEAT

      public static final Colors WHEAT
    • WHITE

      public static final Colors WHITE
    • WHITESMOKE

      public static final Colors WHITESMOKE
    • YELLOW

      public static final Colors YELLOW
    • YELLOWGREEN

      public static final Colors YELLOWGREEN
    • VIVID_RED

      public static final Colors VIVID_RED
    • VIVID_YELLOWRED

      public static final Colors VIVID_YELLOWRED
    • VIVID_YELLOW

      public static final Colors VIVID_YELLOW
    • VIVID_GREENYELLOW

      public static final Colors VIVID_GREENYELLOW
    • VIVID_GREEN

      public static final Colors VIVID_GREEN
    • VIVID_BLUEGREEN

      public static final Colors VIVID_BLUEGREEN
    • VIVID_BLUE

      public static final Colors VIVID_BLUE
    • VIVID_PURPLEBLUE

      public static final Colors VIVID_PURPLEBLUE
    • VIVID_PURPLE

      public static final Colors VIVID_PURPLE
    • VIVID_REDPURPLE

      public static final Colors VIVID_REDPURPLE
    • STRONG_RED

      public static final Colors STRONG_RED
    • STRONG_YELLOWRED

      public static final Colors STRONG_YELLOWRED
    • STRONG_YELLOW

      public static final Colors STRONG_YELLOW
    • STRONG_GREENYELLOW

      public static final Colors STRONG_GREENYELLOW
    • STRONG_GREEN

      public static final Colors STRONG_GREEN
    • STRONG_BLUEGREEN

      public static final Colors STRONG_BLUEGREEN
    • STRONG_BLUE

      public static final Colors STRONG_BLUE
    • STRONG_PURPLEBLUE

      public static final Colors STRONG_PURPLEBLUE
    • STRONG_PURPLE

      public static final Colors STRONG_PURPLE
    • STRONG_REDPURPLE

      public static final Colors STRONG_REDPURPLE
    • BRIGHT_RED

      public static final Colors BRIGHT_RED
    • BRIGHT_YELLOWRED

      public static final Colors BRIGHT_YELLOWRED
    • BRIGHT_YELLOW

      public static final Colors BRIGHT_YELLOW
    • BRIGHT_GREENYELLOW

      public static final Colors BRIGHT_GREENYELLOW
    • BRIGHT_GREEN

      public static final Colors BRIGHT_GREEN
    • BRIGHT_BLUEGREEN

      public static final Colors BRIGHT_BLUEGREEN
    • BRIGHT_BLUE

      public static final Colors BRIGHT_BLUE
    • BRIGHT_PURPLEBLUE

      public static final Colors BRIGHT_PURPLEBLUE
    • BRIGHT_PURPLE

      public static final Colors BRIGHT_PURPLE
    • BRIGHT_REDPURPLE

      public static final Colors BRIGHT_REDPURPLE
    • PALE_RED

      public static final Colors PALE_RED
    • PALE_YELLOWRED

      public static final Colors PALE_YELLOWRED
    • PALE_YELLOW

      public static final Colors PALE_YELLOW
    • PALE_GREENYELLOW

      public static final Colors PALE_GREENYELLOW
    • PALE_GREEN

      public static final Colors PALE_GREEN
    • PALE_BLUEGREEN

      public static final Colors PALE_BLUEGREEN
    • PALE_BLUE

      public static final Colors PALE_BLUE
    • PALE_PURPLEBLUE

      public static final Colors PALE_PURPLEBLUE
    • PALE_PURPLE

      public static final Colors PALE_PURPLE
    • PALE_REDPURPLE

      public static final Colors PALE_REDPURPLE
    • VERYPALE_RED

      public static final Colors VERYPALE_RED
    • VERYPALE_YELLOWRED

      public static final Colors VERYPALE_YELLOWRED
    • VERYPALE_YELLOW

      public static final Colors VERYPALE_YELLOW
    • VERYPALE_GREENYELLOW

      public static final Colors VERYPALE_GREENYELLOW
    • VERYPALE_GREEN

      public static final Colors VERYPALE_GREEN
    • VERYPALE_BLUEGREEN

      public static final Colors VERYPALE_BLUEGREEN
    • VERYPALE_BLUE

      public static final Colors VERYPALE_BLUE
    • VERYPALE_PURPLEBLUE

      public static final Colors VERYPALE_PURPLEBLUE
    • VERYPALE_PURPLE

      public static final Colors VERYPALE_PURPLE
    • VERYPALE_REDPURPLE

      public static final Colors VERYPALE_REDPURPLE
    • LIGHTGRAYISH_RED

      public static final Colors LIGHTGRAYISH_RED
    • LIGHTGRAYISH_YELLOWRED

      public static final Colors LIGHTGRAYISH_YELLOWRED
    • LIGHTGRAYISH_YELLOW

      public static final Colors LIGHTGRAYISH_YELLOW
    • LIGHTGRAYISH_GREENYELLOW

      public static final Colors LIGHTGRAYISH_GREENYELLOW
    • LIGHTGRAYISH_GREEN

      public static final Colors LIGHTGRAYISH_GREEN
    • LIGHTGRAYISH_BLUEGREEN

      public static final Colors LIGHTGRAYISH_BLUEGREEN
    • LIGHTGRAYISH_BLUE

      public static final Colors LIGHTGRAYISH_BLUE
    • LIGHTGRAYISH_PURPLEBLUE

      public static final Colors LIGHTGRAYISH_PURPLEBLUE
    • LIGHTGRAYISH_PURPLE

      public static final Colors LIGHTGRAYISH_PURPLE
    • LIGHTGRAYISH_REDPURPLE

      public static final Colors LIGHTGRAYISH_REDPURPLE
    • LIGHT_RED

      public static final Colors LIGHT_RED
    • LIGHT_YELLOWRED

      public static final Colors LIGHT_YELLOWRED
    • LIGHT_YELLOW

      public static final Colors LIGHT_YELLOW
    • LIGHT_GREENYELLOW

      public static final Colors LIGHT_GREENYELLOW
    • LIGHT_GREEN

      public static final Colors LIGHT_GREEN
    • LIGHT_BLUEGREEN

      public static final Colors LIGHT_BLUEGREEN
    • LIGHT_BLUE

      public static final Colors LIGHT_BLUE
    • LIGHT_PURPLEBLUE

      public static final Colors LIGHT_PURPLEBLUE
    • LIGHT_PURPLE

      public static final Colors LIGHT_PURPLE
    • LIGHT_REDPURPLE

      public static final Colors LIGHT_REDPURPLE
    • GRAYISH_RED

      public static final Colors GRAYISH_RED
    • GRAYISH_YELLOWRED

      public static final Colors GRAYISH_YELLOWRED
    • GRAYISH_YELLOW

      public static final Colors GRAYISH_YELLOW
    • GRAYISH_GREENYELLOW

      public static final Colors GRAYISH_GREENYELLOW
    • GRAYISH_GREEN

      public static final Colors GRAYISH_GREEN
    • GRAYISH_BLUEGREEN

      public static final Colors GRAYISH_BLUEGREEN
    • GRAYISH_BLUE

      public static final Colors GRAYISH_BLUE
    • GRAYISH_PURPLEBLUE

      public static final Colors GRAYISH_PURPLEBLUE
    • GRAYISH_PURPLE

      public static final Colors GRAYISH_PURPLE
    • GRAYISH_REDPURPLE

      public static final Colors GRAYISH_REDPURPLE
    • DULL_RED

      public static final Colors DULL_RED
    • DULL_YELLOWRED

      public static final Colors DULL_YELLOWRED
    • DULL_YELLOW

      public static final Colors DULL_YELLOW
    • DULL_GREENYELLOW

      public static final Colors DULL_GREENYELLOW
    • DULL_GREEN

      public static final Colors DULL_GREEN
    • DULL_BLUEGREEN

      public static final Colors DULL_BLUEGREEN
    • DULL_BLUE

      public static final Colors DULL_BLUE
    • DULL_PURPLEBLUE

      public static final Colors DULL_PURPLEBLUE
    • DULL_PURPLE

      public static final Colors DULL_PURPLE
    • DULL_REDPURPLE

      public static final Colors DULL_REDPURPLE
    • DEEP_RED

      public static final Colors DEEP_RED
    • DEEP_YELLOWRED

      public static final Colors DEEP_YELLOWRED
    • DEEP_YELLOW

      public static final Colors DEEP_YELLOW
    • DEEP_GREENYELLOW

      public static final Colors DEEP_GREENYELLOW
    • DEEP_GREEN

      public static final Colors DEEP_GREEN
    • DEEP_BLUEGREEN

      public static final Colors DEEP_BLUEGREEN
    • DEEP_BLUE

      public static final Colors DEEP_BLUE
    • DEEP_PURPLEBLUE

      public static final Colors DEEP_PURPLEBLUE
    • DEEP_PURPLE

      public static final Colors DEEP_PURPLE
    • DEEP_REDPURPLE

      public static final Colors DEEP_REDPURPLE
    • DARK_RED

      public static final Colors DARK_RED
    • DARK_YELLOWRED

      public static final Colors DARK_YELLOWRED
    • DARK_YELLOW

      public static final Colors DARK_YELLOW
    • DARK_GREENYELLOW

      public static final Colors DARK_GREENYELLOW
    • DARK_GREEN

      public static final Colors DARK_GREEN
    • DARK_BLUEGREEN

      public static final Colors DARK_BLUEGREEN
    • DARK_BLUE

      public static final Colors DARK_BLUE
    • DARK_PURPLEBLUE

      public static final Colors DARK_PURPLEBLUE
    • DARK_PURPLE

      public static final Colors DARK_PURPLE
    • DARK_REDPURPLE

      public static final Colors DARK_REDPURPLE
    • DARKGRAYISH_RED

      public static final Colors DARKGRAYISH_RED
    • DARKGRAYISH_YELLOWRED

      public static final Colors DARKGRAYISH_YELLOWRED
    • DARKGRAYISH_YELLOW

      public static final Colors DARKGRAYISH_YELLOW
    • DARKGRAYISH_GREENYELLOW

      public static final Colors DARKGRAYISH_GREENYELLOW
    • DARKGRAYISH_GREEN

      public static final Colors DARKGRAYISH_GREEN
    • DARKGRAYISH_BLUEGREEN

      public static final Colors DARKGRAYISH_BLUEGREEN
    • DARKGRAYISH_BLUE

      public static final Colors DARKGRAYISH_BLUE
    • DARKGRAYISH_PURPLEBLUE

      public static final Colors DARKGRAYISH_PURPLEBLUE
    • DARKGRAYISH_PURPLE

      public static final Colors DARKGRAYISH_PURPLE
    • DARKGRAYISH_REDPURPLE

      public static final Colors DARKGRAYISH_REDPURPLE
    • GRAY1

      public static final Colors GRAY1
    • GRAY2

      public static final Colors GRAY2
    • GRAY3

      public static final Colors GRAY3
    • GRAY4

      public static final Colors GRAY4
    • GRAY5

      public static final Colors GRAY5
    • GRAY6

      public static final Colors GRAY6
    • GRAY7

      public static final Colors GRAY7
    • GRAY8

      public static final Colors GRAY8
    • LEGACY_PINK

      public static final Colors LEGACY_PINK
    • LEGACY_ORANGE

      public static final Colors LEGACY_ORANGE
    • LEGACY_GREEN

      public static final Colors LEGACY_GREEN
    • NO_FORMATTING

      public static final Colors NO_FORMATTING
  • Method Details

    • values

      public static Colors[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Colors valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • color

      public Color color()
      Gets this name's defined Color
      Returns:
      this Color
    • format

      public long format()
      Gets this name's defined column format value
      Returns:
      this column format
    • toLong

      public static long toLong(Colors color)
      Gets the formatting long of the input color
      Parameters:
      color - color
      Returns:
      formatting long of the input color
    • toLong

      public static long toLong(long color)
      Gets the formatting long of the input color
      Parameters:
      color - color
      Returns:
      formatting long of the input color
    • toLong

      public static long toLong(Color color)
      Gets the formatting long of the input color
      Parameters:
      color - color
      Returns:
      formatting long of the input color
    • toLong

      public static long toLong(String color)
      Gets the formatting long of the input color
      Parameters:
      color - color
      Returns:
      formatting long of the input color
      Throws:
      IllegalArgumentException - If color is invalid
    • background

      public static long background(long r, long g, long b)
      Creates a table format encoding with background color equal to the input RGB and unformatted foreground.
      Parameters:
      r - red component
      g - green component
      b - blue component
      Returns:
      table format encoding the RGB background color and an unformatted foreground.
    • bg

      public static long bg(long r, long g, long b)
      Convenience method for background(long, long, long).
    • foreground

      public static long foreground(long r, long g, long b)
      Creates a table format encoding with foreground color equal to the input RGB and unformatted background.
      Parameters:
      r - red component
      g - green component
      b - blue component
      Returns:
      table format encoding the RGB foreground color and an unformatted background.
    • fg

      public static long fg(long r, long g, long b)
      Convenience method for foreground(long, long, long).
    • backgroundForeground

      public static long backgroundForeground(long bgr, long bgg, long bgb, long fgr, long fgg, long fgb)
      Creates a table format encoding with specified foreground and background colors.
      Parameters:
      bgr - red component of the background color
      bgg - green component of the background color
      bgb - blue component of the background color
      fgr - red component of the foreground color
      fgg - green component of the foreground color
      fgb - blue component of the foreground color
      Returns:
      table format encoding with specified foreground and background colors
    • bgfg

      public static long bgfg(long bgr, long bgg, long bgb, long fgr, long fgg, long fgb)
    • backgroundForegroundAuto

      public static long backgroundForegroundAuto(long bgr, long bgg, long bgb)
      Creates a table format encoding with specified background color and automatically chosen contrasting foreground color.
      Parameters:
      bgr - red component of the background color
      bgg - green component of the background color
      bgb - blue component of the background color
      Returns:
      table format encoding with background color and auto-generated foreground color
    • bgfga

      public static long bgfga(long bgr, long bgg, long bgb)
    • heatmap

      public static long heatmap(double value, double min, double max, long bg1, long bg2)
      Creates a table format encoding for the heat map at value. A contrasting foreground color is automatically chosen.
      Parameters:
      value - determines the color used by its location in the heat map's range
      min - minimum value of the heat map range
      max - maximum value of the heat map range
      bg1 - background color at or below the minimum value of the heat map
      bg2 - background color at or above the maximum value of the heat map
      Returns:
      table format encoding with background color and auto-generated foreground color determined by a heat map
    • heatmapForeground

      public static long heatmapForeground(double value, double min, double max, long fg1, long fg2)
      Creates a table format encoding with specified foreground color and unformatted background.
      Parameters:
      value - determines the color used by its location in the heat map's range
      min - minimum value of the heat map range
      max - maximum value of the heat map range
      fg1 - foreground color at or below the minimum value of the heat map
      fg2 - foreground color at or above the maximum value of the heat map
      Returns:
      table format encoding with foreground color determined by a heat map
    • heatmapFg

      public static long heatmapFg(double value, double min, double max, long fg1, long fg2)
    • background

      public static long background(long color)
      Creates a table format encoding with specified background color and an unformatted foreground.
      Parameters:
      color - color encoding
      Returns:
      table format encoding with specified background color and unformatted foreground
    • bg

      public static long bg(long color)
      Convenience method for background(long)
    • foreground

      public static long foreground(long color)
      Creates a table format encoding with specified foreground color and unformatted background.
      Parameters:
      color - color encoding
      Returns:
      table format encoding with specified foreground color and unformatted background
    • fg

      public static long fg(long color)
      Convenience method for foreground(long)