Skip to content

Instantly share code, notes, and snippets.

@Marck
Forked from Soheab/0-discord.Colour.md
Created September 27, 2020 16:39
Show Gist options
  • Save Marck/12476df87020d22bf045e83cdfcda092 to your computer and use it in GitHub Desktop.
Save Marck/12476df87020d22bf045e83cdfcda092 to your computer and use it in GitHub Desktop.
See all discord.Colour classmethod's and more in a clean way with their usages.

Colour's

Other

default()

  • Name: "Black"

  • Hex: #000000

  • Usage: discord.Colour.default()

    default

dark_theme()

  • Name: "Antarctic Deep"

  • Hex: #36393F

  • Usage: discord.Colour.dark_theme()

    default


Teal

teal()

  • Name: "Aloha"

  • Hex: #1abc9c

  • Usage: discord.Colour.teal()

    teal

dark_teal()

  • Name: "Blue Green"

  • Hex: #11806a

  • Usage: discord.Colour.dark_teal()

    dark_teal


Green

green()

  • Name: "UFO Green"

  • Hex: #2ecc71

  • Usage: discord.Colour.green()

    green

dark_green()

  • Name: "Paperboy's Lawn"

  • Hex: #1f8b4c

  • Usage: discord.Colour.dark_green()

    dark_green


Blue

blurple()

  • Name: "Zeus'Temple"

  • Hex: #7289da

  • Usage: discord.Colour.blurple()

    blurple

blue()

  • Name: "Dayflower"

  • Hex: #3498db

  • Usage: discord.Colour.blue()

    blue

dark_blue()

  • Name: "Deep Water"

  • Hex: #206694

  • Usage: discord.Colour.dark_blue()

    dark_blue


Magenta

magenta()

  • Name: "Mellow Melon"

  • Hex: #e91e63

  • Usage: discord.Colour.magenta()

    magenta

dark_magenta()

  • Name: "Plum Perfect"

  • Hex: #ad1457

  • Usage: discord.Colour.dark_magenta()

    dark_magenta


Gold

gold()

  • Name: "Tanned Leather"

  • Hex: #f1c40f

  • Usage: discord.Colour.gold()

    gold

dark_gold()

  • Name: "Tree Sap"

  • Hex: #c27c0e

  • Usage: discord.Colour.dark_gold()

    dark_gold


Orange

orange()

  • Name: "Dark Cheddar"

  • Hex: #e67e22

  • Usage: discord.Colour.orange()

    orange

dark_orange()

  • Name: "Pepperoni"

  • Hex: #a84300

  • Usage: discord.Colour.dark_orange()

    dark_orange


Red

red()

  • Name: "Carmine Pink"

  • Hex: #e74c3c

  • Usage: discord.Colour.red()

    dark_orange

dark_red()

  • Name: "Red Birch"

  • Hex: #992d22

  • Usage: discord.Colour.dark_red()

    dark_orange


Grey

greyple()

  • Name: "Irogon Blue"

  • Hex: #99aab5

  • Usage: discord.Colour.greyple()

    dark_orange

light_grey()

  • Name: "Harrison Grey"

  • Hex: #979c9f

  • Usage: discord.Colour.light_grey()

    dark_orange

lighter_grey()

  • Name: "Dusty Sky"

  • Hex: #95a5a6

  • Usage: discord.Colour.lighter_grey()

    dark_orange

dark_grey()

  • Name: "Whale Shark"

  • Hex: #607d8b

  • Usage: discord.Colour.dark_grey()

    dark_orange

darker_grey()

  • Name: "Morro Bay"

  • Hex: #546e7a

  • Usage: discord.Colour.darker_grey()

    dark_orange

Method's

to_rgb()

  • Description: Tuple[int, int, int]: Returns an (r, g, b) tuple representing the colour.
  • Usage: to_rgb()

from_rgb()

  • Description: Constructs a Colour from an RGB tuple.
  • Usage: from_rgb(R, G, B)

from_hsv()

  • Description: Constructs a Colour from an HSV tuple.
  • Usage: from_rgb(H, S, V)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment