setFgRgb method

void setFgRgb(
  1. int r,
  2. int g,
  3. int b
)

Set foreground to an RGB color.

Implementation

void setFgRgb(int r, int g, int b) {
  fg = Color.rgb;
  fgRgb = RgbColor(r, g, b);
  fgIndexed = null;
}