Roblox Color Codes
Browse our complete list of Roblox BrickColor Codes—the preset named colors used in developing games for the Roblox platform. Find, filter, and copy color codes for your next Roblox creation.
List of Roblox Color Codes
COLOR | NAME | NUMBER | RGB VALUE | ACTIONS |
---|---|---|---|---|
White | 1 | rgb(242, 243, 243) | ||
Grey | 2 | rgb(161, 165, 162) | ||
Light yellow | 3 | rgb(249, 233, 153) | ||
Brick yellow | 5 | rgb(215, 197, 154) | ||
Light green (Mint) | 6 | rgb(194, 218, 184) | ||
Light reddish violet | 9 | rgb(232, 186, 200) | ||
Pastel Blue | 11 | rgb(128, 187, 219) | ||
Light blue | 23 | rgb(13, 105, 172) | ||
Bright red | 21 | rgb(196, 40, 28) | ||
Bright yellow | 24 | rgb(245, 205, 48) | ||
Earth orange | 106 | rgb(226, 155, 64) | ||
Black | 26 | rgb(27, 42, 53) | ||
Dark green | 28 | rgb(0, 68, 27) | ||
Bright green | 37 | rgb(75, 151, 75) | ||
Medium blue | 45 | rgb(0, 32, 96) | ||
Bright violet | 104 | rgb(107, 50, 124) | ||
Bright orange | 106 | rgb(218, 133, 65) | ||
Bright bluish green | 107 | rgb(0, 143, 156) | ||
Earth yellow | 108 | rgb(180, 132, 85) | ||
Medium stone grey | 194 | rgb(140, 146, 143) |
Roblox Color Usage Examples:
Using BrickColor by Name:
part.BrickColor = BrickColor.new("Bright red")
Using BrickColor by Number:
part.BrickColor = BrickColor.new(21)
Using Color3 (RGB):
part.Color = Color3.fromRGB(196, 40, 28)
Getting Current BrickColor:
local currentColor = part.BrickColor.Name
print("Current color: " .. currentColor)
Understanding Roblox BrickColors
Roblox is a popular online platform where users can create and play games. When developing games on Roblox, creators frequently need to work with colors to design attractive and engaging experiences.
What Are BrickColors in Roblox?
BrickColors are preset named colors in Roblox that are used to apply colors to parts and other objects in your game. BrickColors are represented by:
- Name: A descriptive name like "Really Red" or "Bright Yellow"
- Number: A unique ID number assigned to each color
- RGB Value: The red, green, and blue components that make up the color
BrickColor vs. Color3
Roblox offers two primary ways to set colors:
- BrickColor: Limited to the preset colors in the Roblox palette (shown in our table)
- Color3: Allows for precise RGB color selection with millions of possibilities
For more advanced color control, many developers prefer to use Color3 values. However, BrickColors remain useful for quick coloring and for compatibility with certain older features.
How to Use BrickColors in Roblox Development
In Roblox Studio:
- Select a part in your game
- Look for the "Color" or "BrickColor" property in the Properties panel
- Choose the desired color from the color palette or enter its name/number

Using Lua Scripts:
You can set BrickColors programmatically in your Lua scripts:
-- Using BrickColor by name local part = workspace.Part part.BrickColor = BrickColor.new("Really red") -- Using BrickColor by ID number part.BrickColor = BrickColor.new(21) -- Using Color3 RGB values (more precise) part.Color = Color3.fromRGB(255, 0, 0)
Tips for Using Roblox Colors
- Create a consistent color palette for your game to maintain visual coherence
- Consider accessibility when choosing colors to ensure your game is playable for people with color vision deficiencies
- Use colors to guide players and highlight important elements in your game
- Remember that colors can appear differently under various lighting conditions in Roblox
- Test your colors on multiple devices as screens may display colors differently
Advanced Roblox Color Techniques
Color Lerping for Transitions
Create smooth color transitions between two colors using Roblox's lerp function:
local function fadeColor(part, startColor, endColor, duration) local startTime = tick() while tick() - startTime < duration do -- Calculate progress (0 to 1) local alpha = (tick() - startTime) / duration -- Interpolate between colors local lerpedColor = startColor:Lerp(endColor, alpha) part.Color = lerpedColor -- Wait for next frame game:GetService("RunService").Heartbeat:Wait() end -- Ensure final color is exact part.Color = endColor end -- Usage local part = workspace.Part local color1 = Color3.fromRGB(255, 0, 0) -- Red local color2 = Color3.fromRGB(0, 0, 255) -- Blue fadeColor(part, color1, color2, 2) -- Fade from red to blue over 2 seconds
Color-Based Game Mechanics
Use colors to create interactive game mechanics:
-- Create color-based collision detection local function setupColorDetection(character) local humanoid = character:WaitForChild("Humanoid") -- Connect to the Touched event workspace.ChildAdded:Connect(function(part) if part:IsA("Part") then part.Touched:Connect(function(hit) if hit.Parent == character then -- Check the part's color if part.BrickColor == BrickColor.new("Bright red") then -- Red parts cause damage humanoid:TakeDamage(10) elseif part.BrickColor == BrickColor.new("Bright green") then -- Green parts heal humanoid.Health = humanoid.Health + 10 end end end) end end) end -- Call this function when a player joins game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(setupColorDetection) end)
Frequently Asked Questions
What is the difference between BrickColor and Color3 in Roblox?
BrickColor is a legacy color system in Roblox that provides a limited set of preset named colors (like 'Really red' or 'Bright yellow'), each with a unique ID number. Color3, on the other hand, is a more modern system that allows for precise RGB color control with millions of possible colors.
While BrickColor is easier to use for beginners and offers named colors that are easy to remember, Color3 offers more flexibility for advanced color customization, gradients, and color manipulation.
How do I use BrickColors in Roblox Lua code?
In Roblox Lua code, you can set a part's BrickColor using either the color name or ID number:
-- By name part.BrickColor = BrickColor.new("Bright red") -- By number part.BrickColor = BrickColor.new(21)
You can also access properties of the current BrickColor:
-- Get the name of the current color local colorName = part.BrickColor.Name -- Get the number of the current color local colorNumber = part.BrickColor.Number -- Get the Color3 equivalent local color3Value = part.BrickColor.Color
Which color system should I use for my Roblox game?
For most modern Roblox development, Color3 is recommended for its precision and flexibility. Use Color3.fromRGB(r, g, b) to set exact colors. This gives you:
- More precise control over your game's visual appearance
- Ability to create color gradients and transitions
- Support for color manipulation in scripts (lighten, darken, blend, etc.)
However, BrickColors are still useful for quick prototyping, working with older scripts, or when you need to refer to a color by a specific name. Some Roblox features also still rely on BrickColors, such as team colors and certain properties of legacy objects.
Can I convert between BrickColor and Color3?
Yes, you can convert between the two color systems:
-- From BrickColor to Color3 local myBrickColor = BrickColor.new("Really blue") local color3Value = myBrickColor.Color -- From Color3 to the closest BrickColor local myColor3 = Color3.fromRGB(0, 0, 255) local closestBrickColor = BrickColor.new(myColor3) print(closestBrickColor.Name) -- Outputs the closest matching BrickColor name
Note that when converting from Color3 to BrickColor, you'll get the closest matching BrickColor since there are limited preset colors in the BrickColor system. This means the conversion might not be exact, especially for unique or unusual colors.
Ready to Colorize Your Roblox Game?
Use our tool to find and copy the perfect colors for your next Roblox creation
Browse Roblox Colors