Proton Bus Simulator uses the Normalized RGB color system (values from 0 to 1) in its configuration files (.ini, .txt).
To convert a standard RGB color (0-255) to this format, divide the value by 255.
Example: Red 255 becomes 1.0; 128 becomes ~0.5.
Below is a quick reference list for common combinations.
| Code (R/G/B) | Approximate Color |
|---|---|
0/0/0 |
Black |
1/0/0 |
Red |
0/1/0 |
Green |
0/0/1 |
Blue |
1/1/1 |
White |
1/1/0 |
Yellow |
0/1/1 |
Cyan |
1/0/1 |
Magenta |
0.5/0.5/0.5 |
Medium Gray |
These values represent increments in the Blue (B) channel, keeping R and G at zero.
| RGB Code | Intensity |
|---|---|
0/0/0.1 |
Very Dark Blue (10%) |
0/0/0.2 |
Dark Blue (20%) |
0/0/0.3 |
Dark Blue (30%) |
0/0/0.4 |
Medium-Dark Blue (40%) |
0/0/0.5 |
Medium Blue (50%) |
0/0/0.6 |
Medium-Light Blue (60%) |
0/0/0.7 |
Light Blue (70%) |
0/0/0.8 |
Light Blue (80%) |
0/0/0.9 |
Very Light Blue (90%) |
0/0/1.0 |
Pure Blue (100%) |
In .txt or .ini files, colors are usually defined line by line:
colorR=1
colorG=0.5
colorB=0
colorA=1 ; Alpha (Transparency: 1=Opaque, 0=Invisible)
This would result in an Orange color.