Start building

Roblox Color3 & BrickColor Converter

Convert Hex and RGB colors into ready-to-paste Luau Color3.fromRGB, Color3.fromHex, Color3.new, and closest BrickColor.

#2F6CF6Closest: Cyan
Popular Roblox UI & Stud Swatches
Ready-to-paste Luau Color3 snippets
Color3.fromRGB(47, 108, 246)
Color3.fromHex("#2F6CF6")
Color3.new(0.184, 0.424, 0.965)
BrickColor.new("Cyan")
Example part & UI usage
part.Color = Color3.fromRGB(47, 108, 246)
frame.BackgroundColor3 = Color3.fromHex("#2F6CF6")

Common questions.

What is the difference between Color3.fromRGB and Color3.new in Roblox?

Color3.fromRGB(r, g, b) takes familiar 0–255 integers (like Color3.fromRGB(47, 108, 246)), whereas Color3.new(r, g, b) takes decimals from 0 to 1. Passing 255 into Color3.new creates blinding HDR colors!

Does Roblox Luau support Hex color codes directly?

Yes! Roblox's Color3.fromHex("#2F6CF6") constructor converts any 6-digit hex string directly into a Color3 value for both BaseParts and ScreenGui elements.

When should I use Color3 vs BrickColor?

Use Color3 for almost everything in modern Roblox Studio (parts, lights, UI gradients, TextLabels) because it supports 16.7 million colors. BrickColor is mostly only needed for Team.TeamColor or classic stud palettes.

More free Roblox tools.

Ready to build
your game in Studio?

Start building free

Free to start. No card needed.