klyn.code.highlighters.SyntaxStyle.setForeground
method
public setForeground(red as Int, green as Int, blue as Int) as Void
Description

Updates the foreground RGB color components.

Parameters
ParameterDescription
redRed component (0..255).
greenGreen component (0..255).
blueBlue component (0..255).
Example
import klyn.code.highlighters

s = SyntaxStyle()
s.setForeground(80, 200, 255)
assert s.fgBlue == 255