Color3 converter
Pick or paste a color in any format. Every Roblox form of it updates at once, ready to copy.
0 to 1 Color3.new range, vs 0 to 255 for fromRGB · Checked October 16, 2026
#C4281C
- Color3.fromRGB
Color3.fromRGB(196, 40, 28) - Color3.new
Color3.new(0.769, 0.157, 0.11) - Color3.fromHex
Color3.fromHex("#C4281C") - HEX
#C4281C - RGB
196, 40, 28 - Nearest BrickColor
BrickColor.new("Bright red")
How it works
The three ways to write a color in Luau
| Constructor | Takes | Example (Roblox red) |
|---|---|---|
| Color3.fromRGB(r, g, b) | Integers 0 to 255 | Color3.fromRGB(196, 40, 28) |
| Color3.new(r, g, b) | Decimals 0 to 1 | Color3.new(0.769, 0.157, 0.11) |
| Color3.fromHex(hex) | A HEX string, # optional | Color3.fromHex("#C4281C") |
All three create the same kind of value. Color3.new is the one people get wrong: Color3.new(100, 150, 200) is not a soft blue: every channel is above 1, so it shows as white. Divide by 255 or use fromRGB.
Going the other way
A Color3 value stores decimals. To show it as HEX use color:ToHex(), and to get 0 to 255 integers multiply each channel by 255 and round: math.round(color.R * 255).
BrickColors are a fixed palette with names. Convert with BrickColor.new("Bright red").Color, or find the nearest one in the BrickColor finder.
Questions
How do I convert HEX to Color3 in Roblox?
Use Color3.fromHex("#C4281C"), or convert the HEX to RGB numbers and use Color3.fromRGB(196, 40, 28). This page writes both for you.
What is the difference between Color3.new and Color3.fromRGB?
Color3.new takes values from 0 to 1, Color3.fromRGB takes values from 0 to 255. Color3.new(1, 0, 0) and Color3.fromRGB(255, 0, 0) are the same red.
How do I convert a BrickColor to a Color3?
Read its .Color property: BrickColor.new("Bright blue").Color. Every BrickColor has a fixed Color3 value.