Color3
RGB color type with components stored in the 0 to 1 range.
part.Color = Color3.fromRGB(255, 136, 0)Components are stored in the 0 to 1 range. == compares components exactly.
Constructors
fromRGB
Color3.fromRGB(r: number, g: number, b: number): Color3Constructs a color from 8-bit components (0 to 255).
new
Color3.new(r: number, g: number, b: number): Color3Constructs a color from normalized components (0 to 1).
fromHex
Color3.fromHex(text: string): Color3Parses a hex string such as "#ff8800".
Properties
R
color.R: numberRed component, 0 to 1. G and B are also available.