Skip to content

R0bl0x10501050/ColorPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ColorPlus

ColorPlus.Add(color1: Color3, color2: Color3)

Adds two Color3 values
color1 - Color3 of the first color
color2 - Color3 of the second color

ColorPlus.Subtract(color1: Color3, color2: Color3)

Subtracts two Color3 values
color1 - Color3 of the first color
color2 - Color3 of the second color

ColorPlus.Multiply(color1: Color3, color2: Color3)

Multiplies two Color3 values
color1 - Color3 of the first color
color2 - Color3 of the second color

ColorPlus.Divide(color1: Color3, color2: Color3)

Divides two Color3 values
color1 - Color3 of the first color
color2 - Color3 of the second color

ColorPlus.Pow(color1: Color3, color2: Color3)

Returns the first Color3 to the power tof the second Color3. Use case? I have no idea.
color1 - Color3 of the first color
color2 - Color3 of the second color

ColorPlus.ToBW(color: Color3)

Converts the Color3 to grayscale
color1 - Color3 of the first color

ColorPlus.HexToRGB(hex: string)

Converts a hexadecimal (hex code) to Color3
hex - The hex string

ColorPlus.RGBToHex(color: Color3)

Converts a Color3 to hexadecimal (hex code)
color - The RGB color

ColorPlus.Invert(color: Color3, bw: boolean)

Inverts the color and optioinally converts the inverted color to grayscale
color - Color3 to invert
bw - Whether to convert to grayscale or not

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages