Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# ColorModifier - Runtime Docs

## ColorModifier :: table or {float, float, float, float}

Same as Color, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].

#### Table fields

r | :: float? |
g | :: float? |
b | :: float? |
a | :: float? |

Concept used in

- LuaSurface::brightness_visual_weights