ColorPlus
✨ Documentation | 💾 Download | 📃 Source
Need to convert a hex code to RGB or add two Color3's together? Use ColorPlus, a brand new Color3 library!
Documentation
ColorPlus.Add(color1: Color3, color2: Color3)
Adds two Color3 valuescolor1
- Color3 of the first colorcolor2
- Color3 of the second colorColorPlus.Subtract(color1: Color3, color2: Color3)
Subtracts two Color3 valuescolor1
- Color3 of the first colorcolor2
- Color3 of the second colorColorPlus.Multiply(color1: Color3, color2: Color3)
Multiplies two Color3 valuescolor1
- Color3 of the first colorcolor2
- Color3 of the second colorColorPlus.Divide(color1: Color3, color2: Color3)
Divides two Color3 valuescolor1
- Color3 of the first colorcolor2
- Color3 of the second colorColorPlus.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 colorcolor2
- Color3 of the second colorColorPlus.ToBW(color: Color3)
Converts the Color3 to grayscalecolor1
- Color3 of the first colorColorPlus.HexToRGB(hex: string)
Converts a hexadecimal (hex code) to Color3hex
- The hex stringColorPlus.RGBToHex(color: Color3)
Converts a Color3 to hexadecimal (hex code)color
- The RGB colorColorPlus.Invert(color: Color3, bw: boolean)
Inverts the color and optioinally converts the inverted color to grayscalecolor
- Color3 to invertbw
- Whether to convert to grayscale or not
Thanks for reading & happy developing!