Garry's Mod Wiki

Color:Copy

  Color Color:Copy()

Recently Added

This was recently added in version (2025.05.30). It might only be available on the Dev Branch right now.

Description

Returns a copy of this color, usually so it can be safely modified later without affecting the original color.

Returns

1 Color
The copy of the given color, safe to modify.