Types/Color

From Official Factorio Wiki
Revision as of 10:40, 8 December 2018 by Bilka (talk | contribs) (→‎Example: removed invalid examples)
Jump to navigation Jump to search

Table of red, green, blue, and alpha float values between 0 and 1. All values are optional, default optional value for colors is 0, for alpha 1.

name meaning type
r red value float
g green value float
b blue value float
a [optional, default 1] alpha value - transparency float

Example

   color = {r=1, g=0, b=0} -- red