Main Menu

[Snippet]Colours

Started by MEGAMIND, May 12, 2018, 07:36:39 AM

Previous topic - Next topic

MEGAMIND

Add these colors at the very top of your script (inside .js file)



Built-in Colors
COLOUR_AQUA
COLOUR_BLACK
COLOUR_BLUE
COLOUR_FUCHSIA
COLOUR_GREEN
COLOUR_LIME
COLOUR_ORANGE
COLOUR_RED
COLOUR_SILVER
COLOUR_SKYBLUE
COLOUR_TRANSPARENT
COLOUR_WHITE
COLOUR_YELLOW





Custom method to use colors
//you can get more colours at   [url=https://www.rapidtables.com/web/color/RGB_Color.html
const COLOUR_PURPLE = toColour(255,0,245,245)
const COLOUR_RED = toColour(255,0,0,245)
const COLOUR_BLUE = toColour(28,121,243)
const COLOUR_ORANGE = toColour(243,114,28)
const COLOUR_YELLOW = toColour(243,252,4)
\"WEBNET OFFICIAL || TDCS.TK\"