Skip to content

🚀 This new wiki is in beta! Please double-check for any issue and report them on the GitHub

Role Colors & Gradients

Discord now supports advanced role colors including gradients and multi-color effects. DiSky exposes these powerful features for creating eye-catching role colors.

A single, standard color:

set color of {_role} to blue

A smooth transition between multiple colors:

set primary color of {_role} to red
set secondary color of {_role} to yellow
set tertiary color of {_role} to blue

Gradient colors create a flowing rainbow or custom gradient effect on the role in the member list.

Special “holographic” or metallic effect:

set primary color of {_role} to white
set holographic state of {_role} to true

For gradient effects, use three color slots:

set primary color of {_role} to hex "#FF0000" # Red
set secondary color of {_role} to hex "#00FF00" # Green
set tertiary color of {_role} to hex "#0000FF" # Blue

Determine what kind of color a role has:

if {_role} is gradient:
reply with "This role has a gradient!"
if {_role} is holographic:
reply with "This role has a holographic effect!"
if {_role} is solid:
reply with "This role has a solid color!"
command /rainbow:
trigger:
set {_role} to member role "Rainbow"
set primary color of {_role} to red
set secondary color of {_role} to orange
set tertiary color of {_role} to blue
reply with "Created a rainbow gradient role!"
command /admin-role:
trigger:
set {_role} to member role "Administrator"
# White holographic effect
set primary color of {_role} to white
set holographic state of {_role} to true
reply with "Admin role now has a holographic effect!"
command /team-colors <color1> <color2> <color3>:
trigger:
set {_role} to member role "Team"
set primary color of {_role} to arg-1
set secondary color of {_role} to arg-2
set tertiary color of {_role} to arg-3
reply with "Team role colors updated!"

You can use any color format:

# Named colors
set primary color of {_role} to red
# Hex colors
set primary color of {_role} to hex "#FF5733"
# RGB colors
set primary color of {_role} to rgb(255, 87, 51)
  • Rank-based roles — Different gradients for different ranks
  • Team colors — Unique color schemes for team roles
  • VIP/Premium — Holographic effects for special members
  • Event roles — Temporary gradient roles for special events
  • Server aesthetics — Coordinated color schemes across all roles
  1. Consistent gradients — Use complementary colors in your gradients
  2. Contrast matters — Ensure gradient is visible against Discord’s dark background
  3. Don’t overuse — A few gradient roles look better than too many
  4. Test appearance — Check how the gradient looks in the member list
  5. Use accessibility — Avoid color combinations that are hard to distinguish
  • Each role can have up to 3 colors (primary, secondary, tertiary)
  • Holographic effect is a Boolean flag (on or off)
  • Gradients are server-specific (each role can have different colors)