public setBackground(red as Int, green as Int, blue as Int) as Void
Updates the background 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.setBackground(10, 20, 30) assert s.bgGreen == 20