Discord Embed Colors - Complete Color Code Reference Guide
Master Discord embed colors with hex codes, decimal values, and color picker tools. Learn how to use Discord blurple, themed palettes, and programmatic color conversion for webhooks and bots.
What Are Discord Embed Colors?
Discord embed colors are the vertical accent bars that appear on the left side of embed messages. This colored stripe helps categorize information, draw attention, and create visual hierarchy in your Discord channels. Whether you’re building a bot, setting up webhooks, or creating automated notifications, choosing the right embed color is crucial for user experience.
The color property in Discord embeds accepts a decimal integer value ranging from 0 to 16777215 (0xFFFFFF in hexadecimal). This represents the full RGB color spectrum, giving you access to over 16 million possible colors.
How Discord Embed Colors Work
Discord’s API uses decimal color values, not the hex codes you might be familiar with from web development. When you set an embed color, you’re providing a base-10 integer that Discord converts internally to RGB values.
For example:
- Hex color
#5865F2(Discord Blurple) converts to decimal5793266 - Hex color
#57F287(Green) converts to decimal5763719 - Hex color
#ED4245(Red) converts to decimal15548997
This conversion is necessary because JSON doesn’t natively support hexadecimal notation for numbers.
Setting Embed Colors in JSON
The most common way to set embed colors is through webhook payloads or bot API calls using JSON:
{
"embeds": [{
"title": "Server Status",
"description": "All systems operational",
"color": 5763719
}]
}
The color field accepts only decimal integers. If you omit the color property, Discord will display the embed with no colored border (appearing as a dark gray bar).
Hex to Decimal Color Conversion
Since most color pickers and design tools use hexadecimal color codes, you’ll need to convert them to decimal for Discord embeds.
Manual Conversion Method
To convert hex to decimal manually:
- Take your hex color code (e.g.,
#5865F2) - Remove the
#symbol:5865F2 - Convert from base-16 to base-10
Example: #5865F2 = (5 × 16^5) + (8 × 16^4) + (6 × 16^3) + (5 × 16^2) + (15 × 16^1) + (2 × 16^0) = 5793266
Programmatic Conversion
Most programming languages provide built-in functions for hex-to-decimal conversion:
JavaScript/Node.js:
const hexColor = "#5865F2";
const decimalColor = parseInt(hexColor.replace("#", ""), 16);
console.log(decimalColor); // 5793266
// Alternative using 0x prefix
const decimalColor2 = 0x5865F2;
console.log(decimalColor2); // 5793266
Python:
hex_color = "#5865F2"
decimal_color = int(hex_color.replace("#", ""), 16)
print(decimal_color) # 5793266
# Alternative
decimal_color2 = 0x5865F2
print(decimal_color2) # 5793266
Java:
String hexColor = "5865F2";
int decimalColor = Integer.parseInt(hexColor, 16);
System.out.println(decimalColor); // 5793266
C#:
string hexColor = "5865F2";
int decimalColor = Convert.ToInt32(hexColor, 16);
Console.WriteLine(decimalColor); // 5793266
Complete Discord Color Code Reference
Here’s a comprehensive table of popular Discord colors with their hex codes and decimal values:
| Color Name | Hex Code | Decimal Value | Use Case |
|---|---|---|---|
| Discord Blurple | #5865F2 | 5793266 | Branding, default |
| Discord Green | #57F287 | 5763719 | Success, online status |
| Discord Yellow | #FEE75C | 16705372 | Warnings, idle status |
| Discord Fuchsia | #EB459E | 15418782 | Highlights, special events |
| Discord Red | #ED4245 | 15548997 | Errors, critical alerts |
| Discord White | #FFFFFF | 16777215 | Neutral, light theme |
| Discord Black | #000000 | 0 | Minimal, dark theme |
| Dark Gray | #23272A | 2303786 | Subtle, background |
| Light Gray | #99AAB5 | 10070709 | Muted, secondary info |
| Greyple | #99AAB5 | 10070709 | Discord secondary color |
| Dark Not Quite Black | #2C2F33 | 2895667 | Discord dark theme |
| Not Quite Black | #23272A | 2303786 | Discord darker theme |
| Aqua | #1ABC9C | 1752220 | Info, notifications |
| Dark Aqua | #11806A | 1146986 | Deep info |
| Green | #57F287 | 5763719 | Success, confirmation |
| Dark Green | #1F8B4C | 2067788 | Subtle success |
| Blue | #3498DB | 3447003 | Information, links |
| Dark Blue | #206694 | 2123412 | Deep information |
| Purple | #9B59B6 | 10181046 | Premium, special |
| Dark Purple | #71368A | 7419530 | Deep premium |
| Luminous Vivid Pink | #E91E63 | 15277667 | Attention, vibrant |
| Dark Vivid Pink | #AD1457 | 11342935 | Deep attention |
| Gold | #F1C40F | 15844367 | Premium, rewards |
| Dark Gold | #C27C0E | 12745742 | Deep premium |
| Orange | #E67E22 | 15105570 | Warnings, moderate |
| Dark Orange | #A84300 | 11027200 | Deep warnings |
| Red | #ED4245 | 15548997 | Errors, danger |
| Dark Red | #992D22 | 10038562 | Deep errors |
| Light Red | #FF6B6B | 16739179 | Soft errors |
| Navy | #34495E | 3426654 | Professional, corporate |
| Dark Navy | #2C3E50 | 2899536 | Deep professional |
| Yellow | #FEE75C | 16705372 | Caution, warnings |
| Light Yellow | #FFFF00 | 16776960 | Bright warnings |
| Magenta | #E91E63 | 15277667 | Creative, artistic |
| Cyan | #00FFFF | 65535 | Tech, modern |
| Light Cyan | #AFEEEE | 11529966 | Soft tech |
| Teal | #1ABC9C | 1752220 | Balance, harmony |
| Light Teal | #40E0D0 | 4251856 | Soft balance |
| Lime | #00FF00 | 65280 | Bright success |
| Light Green | #90EE90 | 9498256 | Soft success |
| Pink | #FF69B4 | 16738484 | Fun, playful |
| Light Pink | #FFB6C1 | 16758465 | Soft playful |
| Brown | #8B4513 | 9127187 | Earthy, natural |
| Light Brown | #D2691E | 13789470 | Soft earthy |
| Beige | #F5F5DC | 16119260 | Neutral, warm |
| Maroon | #800000 | 8388608 | Deep red, serious |
| Olive | #808000 | 8421376 | Muted, natural |
| Indigo | #4B0082 | 4915330 | Deep, mysterious |
| Violet | #EE82EE | 15631086 | Creative, unique |
| Coral | #FF7F50 | 16744272 | Warm, friendly |
| Salmon | #FA8072 | 16416882 | Soft, approachable |
| Turquoise | #40E0D0 | 4251856 | Fresh, clean |
| Lavender | #E6E6FA | 15132410 | Calm, peaceful |
| Mint | #98FF98 | 10027008 | Fresh, new |
| Peach | #FFDAB9 | 16767673 | Warm, inviting |
| Sky Blue | #87CEEB | 8900331 | Open, airy |
| Steel Blue | #4682B4 | 4620980 | Professional, strong |
Popular Discord Brand Colors
Discord has specific brand colors that are commonly used in official embeds and community bots:
Discord Blurple (#5865F2)
The signature Discord brand color. Use this for general-purpose embeds, branding, or when you want to maintain Discord’s visual identity.
{
"embeds": [{
"title": "Welcome to the Server!",
"description": "Thanks for joining our community.",
"color": 5793266
}]
}
Discord Green (#57F287)
Perfect for success messages, confirmations, and positive status updates.
{
"embeds": [{
"title": "Action Successful",
"description": "Your settings have been saved.",
"color": 5763719
}]
}
Discord Red (#ED4245)
Ideal for error messages, critical alerts, and destructive actions.
{
"embeds": [{
"title": "Error Occurred",
"description": "Failed to process your request. Please try again.",
"color": 15548997
}]
}
Discord Yellow (#FEE75C)
Best for warnings, caution messages, and idle status indicators.
{
"embeds": [{
"title": "Warning",
"description": "This action cannot be undone.",
"color": 16705372
}]
}
Themed Color Palettes for Embeds
Creating consistent color schemes across your bot or webhook improves user experience and brand recognition.
Status Message Palette
Use semantic colors to communicate message types instantly:
- Success: Green (#57F287 / 5763719)
- Error: Red (#ED4245 / 15548997)
- Warning: Yellow (#FEE75C / 16705372)
- Info: Blue (#3498DB / 3447003)
const STATUS_COLORS = {
success: 5763719,
error: 15548997,
warning: 16705372,
info: 3447003
};
// Usage
const embed = {
title: "Database Connected",
description: "Successfully connected to the database.",
color: STATUS_COLORS.success
};
Gaming Bot Palette
For gaming communities, consider vibrant, energetic colors:
- Victory: Gold (#F1C40F / 15844367)
- Defeat: Dark Red (#992D22 / 10038562)
- Level Up: Purple (#9B59B6 / 10181046)
- Achievement: Orange (#E67E22 / 15105570)
Professional/Corporate Palette
For business or professional servers, use muted, sophisticated colors:
- Primary: Navy (#34495E / 3426654)
- Secondary: Steel Blue (#4682B4 / 4620980)
- Accent: Teal (#1ABC9C / 1752220)
- Neutral: Dark Gray (#23272A / 2303786)
Seasonal Palettes
Adapt your embed colors to seasons or events:
Spring: Mint (#98FF98 / 10027008), Light Pink (#FFB6C1 / 16758465), Sky Blue (#87CEEB / 8900331)
Summer: Coral (#FF7F50 / 16744272), Turquoise (#40E0D0 / 4251856), Gold (#F1C40F / 15844367)
Autumn: Orange (#E67E22 / 15105570), Brown (#8B4513 / 9127187), Dark Gold (#C27C0E / 12745742)
Winter: Light Cyan (#AFEEEE / 11529966), Lavender (#E6E6FA / 15132410), Steel Blue (#4682B4 / 4620980)
Dark Mode Considerations
Most Discord users prefer dark mode, so your embed colors should be optimized for dark backgrounds.
Best Practices for Dark Mode
- Avoid pure white (#FFFFFF / 16777215) - It’s too harsh on dark backgrounds
- Use vibrant colors - They stand out better against dark gray
- Test contrast - Ensure text remains readable
- Prefer saturated colors - Muted colors can appear washed out
Colors That Work Well in Dark Mode
- Discord Blurple (#5865F2 / 5793266)
- Bright Green (#57F287 / 5763719)
- Cyan (#00FFFF / 65535)
- Magenta (#E91E63 / 15277667)
- Gold (#F1C40F / 15844367)
Colors to Avoid in Dark Mode
- Pure Black (#000000 / 0) - Blends with background
- Very Dark Colors - Low contrast, hard to distinguish
- Pale Pastels - Appear washed out
Using Colors Programmatically
When building bots or webhook integrations, you’ll want to manage colors efficiently in your code.
JavaScript/TypeScript Example
class EmbedColors {
// Define colors as hexadecimal constants
static BLURPLE = 0x5865F2;
static GREEN = 0x57F287;
static YELLOW = 0xFEE75C;
static RED = 0xED4245;
static WHITE = 0xFFFFFF;
static BLACK = 0x000000;
// Convert hex string to decimal
static fromHex(hex) {
return parseInt(hex.replace('#', ''), 16);
}
// Convert RGB to decimal
static fromRGB(r, g, b) {
return (r << 16) + (g << 8) + b;
}
// Random color generator
static random() {
return Math.floor(Math.random() * 16777215);
}
}
// Usage examples
const successEmbed = {
title: "Success",
color: EmbedColors.GREEN
};
const customEmbed = {
title: "Custom Color",
color: EmbedColors.fromHex("#FF6B6B")
};
const rgbEmbed = {
title: "RGB Color",
color: EmbedColors.fromRGB(255, 107, 107)
};
Python Example
class EmbedColors:
BLURPLE = 0x5865F2
GREEN = 0x57F287
YELLOW = 0xFEE75C
RED = 0xED4245
WHITE = 0xFFFFFF
BLACK = 0x000000
@staticmethod
def from_hex(hex_color):
"""Convert hex string to decimal"""
return int(hex_color.replace('#', ''), 16)
@staticmethod
def from_rgb(r, g, b):
"""Convert RGB values to decimal"""
return (r << 16) + (g << 8) + b
@staticmethod
def random():
"""Generate random color"""
import random
return random.randint(0, 16777215)
# Usage examples
success_embed = {
"title": "Success",
"color": EmbedColors.GREEN
}
custom_embed = {
"title": "Custom Color",
"color": EmbedColors.from_hex("#FF6B6B")
}
rgb_embed = {
"title": "RGB Color",
"color": EmbedColors.from_rgb(255, 107, 107)
}
Discord Embed Color Picker Tools
Manually converting hex to decimal can be tedious. Several tools make this process easier:
Online Color Pickers
-
discord-webhook.com - Our built-in visual webhook builder includes a color picker that automatically converts hex to decimal. Simply click the color selector, choose your color, and the decimal value is applied instantly.
-
Browser DevTools - Most browsers have color pickers in their developer tools that display hex values you can convert.
-
Design Tools - Figma, Adobe XD, and Sketch all provide hex color codes that you can convert programmatically.
Using Our Visual Webhook Builder
The easiest way to work with Discord embed colors is using our free visual webhook builder at discord-webhook.com:
- Navigate to the webhook builder app
- Click on the color selector in the embed section
- Choose your desired color visually
- The decimal value is automatically calculated and applied
- Preview your embed in real-time
- Copy the generated JSON or send directly to your webhook
This eliminates the need for manual conversion and lets you see exactly how your embed will look before sending it.
Common Color Mistakes to Avoid
Using Hex Values Directly
This will NOT work:
{
"embeds": [{
"title": "Error Example",
"color": "#5865F2"
}]
}
Discord’s API expects a decimal integer, not a hex string. Always convert to decimal first.
Using Invalid Color Values
Color values must be between 0 and 16777215. Values outside this range will be rejected:
{
"embeds": [{
"title": "Invalid",
"color": 99999999
}]
}
Forgetting Color Accessibility
Ensure your color choices are accessible:
- Maintain sufficient contrast with text
- Don’t rely solely on color to convey information
- Consider colorblind users (avoid red/green as sole differentiators)
Advanced Color Techniques
Gradient-Like Effects with Multiple Embeds
While individual embeds can’t have gradients, you can create a gradient effect using multiple embeds with progressively changing colors:
{
"embeds": [
{
"description": "Step 1: Initialize",
"color": 3447003
},
{
"description": "Step 2: Process",
"color": 5793266
},
{
"description": "Step 3: Complete",
"color": 10181046
}
]
}
Dynamic Color Based on Data
Adjust embed colors programmatically based on data values:
function getColorForPercentage(percentage) {
if (percentage >= 80) return 0x57F287; // Green
if (percentage >= 50) return 0xFEE75C; // Yellow
if (percentage >= 20) return 0xE67E22; // Orange
return 0xED4245; // Red
}
const serverLoad = 75;
const embed = {
title: "Server Load",
description: `Current load: ${serverLoad}%`,
color: getColorForPercentage(serverLoad)
};
Color Interpolation
Create smooth color transitions by interpolating between two colors:
function interpolateColor(color1, color2, factor) {
const r1 = (color1 >> 16) & 0xFF;
const g1 = (color1 >> 8) & 0xFF;
const b1 = color1 & 0xFF;
const r2 = (color2 >> 16) & 0xFF;
const g2 = (color2 >> 8) & 0xFF;
const b2 = color2 & 0xFF;
const r = Math.round(r1 + (r2 - r1) * factor);
const g = Math.round(g1 + (g2 - g1) * factor);
const b = Math.round(b1 + (b2 - b1) * factor);
return (r << 16) + (g << 8) + b;
}
// Interpolate from red to green
const startColor = 0xED4245; // Red
const endColor = 0x57F287; // Green
const midColor = interpolateColor(startColor, endColor, 0.5);
Best Practices for Discord Embed Colors
- Be Consistent - Use the same colors for the same types of messages across your bot
- Follow Conventions - Green for success, red for errors, yellow for warnings
- Consider Branding - Use your server or organization’s brand colors when appropriate
- Test on Dark Mode - Most users use dark mode, so optimize for it
- Don’t Overuse Bright Colors - Too many bright embeds can be overwhelming
- Use Neutral Colors for Frequent Messages - Save vibrant colors for important notifications
- Document Your Color Scheme - Keep a reference of which colors mean what in your bot
- Accessibility First - Ensure colors are distinguishable for colorblind users
Conclusion
Discord embed colors are a powerful tool for creating visually appealing and informative messages. By understanding hex-to-decimal conversion, using appropriate color palettes, and following best practices, you can create professional-looking embeds that enhance user experience.
Whether you’re building a bot, setting up webhooks, or creating automated notifications, choosing the right colors helps users quickly understand message context and importance.
Ready to start creating beautiful Discord embeds? Use our visual webhook builder to design embeds with an intuitive color picker, real-time preview, and automatic decimal conversion. No coding required - just point, click, and send. The builder also supports polls, scheduled messages, thread and forum posting, and interactive buttons with actions — all with the same visual approach.
Related Articles
- Complete Guide to Discord Embed Formatting — Master Discord embed builder techniques including fields, colors, images, and character limits
- Discord Components V2: Buttons, Selects, and Text Inputs in Webhooks — Learn how to add interactive buttons, select menus, and text inputs to webhook messages
- Send Discord Webhooks from JavaScript (Node.js & Browser) — Learn how to send webhook messages using JavaScript with Node.js and browser fetch API
- Best Discohook Alternative — Compare Discord webhook builders and find the best Discohook replacement
- Discord Webhook Polls Guide — Create interactive polls in Discord channels using webhooks
- Interactive Buttons and Actions — Add clickable buttons and action rows to your Discord webhook messages
Try it in our tool
Open Discord Webhook Builder