public setForeground(red as Int, green as Int, blue as Int) as Void
Updates the foreground RGB color components.
| Parameter | Description |
|---|---|
red | Red component (0..255). |
green | Green component (0..255). |
blue | Blue component (0..255). |
import klyn.code.highlighters s = SyntaxStyle() s.setForeground(80, 200, 255) assert s.fgBlue == 255