Color Codes › Roblox

Roblox color codes

The most-used Roblox BrickColor names with their RGB and hex values. Click any code to copy. For exact custom colours, use Color3 with the RGB or hex below.

In Lua: BrickColor.new("Bright red") for a preset, or Color3.fromRGB(196, 40, 28) / Color3.fromHex("#C4281C") for any colour.

BrickColors vs Color3

Roblox has two colour systems. BrickColor is a fixed palette of around 128 named colours inherited from LEGO — handy presets like Bright red or Really blue. Color3 lets you specify any colour by RGB or hex, which is what you want for precise branding.

Set a preset with part.BrickColor = BrickColor.new("Bright blue"), or any exact colour with part.Color = Color3.fromRGB(13, 105, 172). Note that Color3.fromRGB takes 0–255 values, while plain Color3.new takes 0–1 floats.

Using hex colours

Color3.fromHex("#C4281C") converts a hex string directly. Build any hex with the colour picker, then drop it straight into your script.

Frequently asked questions

What is a BrickColor in Roblox?
A named preset colour like 'Bright red', each mapped to a fixed RGB value. Set it with BrickColor.new("Bright red"), or use Color3 for custom colours.
How do I use a hex color in Roblox?
Color3.fromHex("#FF0000") in Lua, or Color3.fromRGB(255, 0, 0). BrickColor only supports presets, so use Color3 for exact colours.
How many BrickColors are there?
About 128 named BrickColors. The ones here are the most used; for anything else, Color3 specifies exact RGB or hex.

More color codes

Minecraft Codes →
All 16 § colour codes.
Discord Colors →
Brand palette + role colours.
CSS Named Colors →
All 140 with codes.
Color Picker →
Build any hex for Color3.