Color3
[!NOTE] There will be more things (methods, constructors, properties, etc.) in the future. This is based on leaks.
Summary
Constructors
Constructors of a `Color3`.- new(R:
Number, G:Number, B:Number):Color3 - fromRGB(R:
Number, G:Number, B:Number):Color3 - fromHSV(H:
Number, S:Number, V:Number):Color3 - fromHex(hex:
String):Color3
Properties
R
NumberThe red value of the color.
G
NumberThe green value of the color.
B
NumberThe blue value of the color.
Constructors
new(R: Number, G: Number, B: Number)
Color3Returns a new
Color3from the given values. Values range from0to1.
fromRGB(R: Number, G: Number, B: Number)
Color3Returns a new
Color3from the given values. Values range from0to255.
fromHSV(H: Number, S: Number, V: Number)
Color3Returns a new
Color3from the given values. Values range from0to1.
fromHex(hex: String)
Color3Returns a new
Color3from the given hexadecimal color value.