PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

Color

BasePart

Color3

The Color property determines the color of a part. If the part has a /BasePart/Material, this also determines the color used when rendering the material texture. If this property is set, /BasePart/BrickColor will use the closest BrickColor to the Color3 value.

Other visual properties of a part are determined by /BasePart/Transparency and /BasePart/Reflectance.


Code Samples


Character Health Body Color

This code sample colors a player’s entire character based on how much health they have. It generates a color based on their max health, then sets the color properties of objects within their character, removing any extra objects.