tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ID.Colors Class Reference

Static Public Member Functions

static Color AlphaDarken (Color input)
 
static Color GetSelectionGlowColor (bool isTileSelected, int averageTileLighting)
 

Static Public Attributes

static readonly Color[] _liquidColors
 
static readonly Color[] _waterfallColors
 
static readonly Color AmbientNPCGastropodLight = new Color(102, 0, 63)
 
static readonly Color CoinCopper = new Color(246, 138, 96)
 
static readonly Color CoinGold = new Color(224, 201, 92)
 
static readonly Color CoinPlatinum = new Color(220, 220, 198)
 
static readonly Color CoinSilver = new Color(181, 192, 193)
 
static readonly Color FancyUIFatButtonMouseOver = Main.OurFavoriteColor
 
static readonly Color Hardcore = new Color(1f, 0.15f, 0.1f)
 
static readonly Color InventoryDefaultColor = new Color(63, 65, 151, 255)
 
static readonly Color InventoryDefaultColorWithOpacity = new Color(63, 65, 151, 255) * 0.785f
 
static readonly Color JourneyMode = Color.Lerp(Color.HotPink, Color.White, 0.1f)
 
static readonly Color LanternBG = new Color(120, 50, 20)
 
static readonly Color Mediumcore = new Color(1f, 0.6f, 0f)
 
static readonly Color RarityAmber = new Color(255, 175, 0)
 
static readonly Color RarityBlue = new Color(150, 150, 255)
 
static readonly Color RarityCyan = new Color(5, 200, 255)
 
static readonly Color RarityDarkPurple = new Color(180, 40, 255)
 
static readonly Color RarityDarkRed = new Color(255, 40, 100)
 
static readonly Color RarityGreen = new Color(150, 255, 150)
 
static readonly Color RarityLime = new Color(150, 255, 10)
 
static readonly Color RarityNormal = Color.White
 
static readonly Color RarityOrange = new Color(255, 200, 150)
 
static readonly Color RarityPink = new Color(255, 150, 255)
 
static readonly Color RarityPurple = new Color(210, 160, 255)
 
static readonly Color RarityRed = new Color(255, 150, 150)
 
static readonly Color RarityTrash = new Color(130, 130, 130)
 
static readonly Color RarityYellow = new Color(255, 255, 10)
 

Properties

static Color CurrentLiquidColor [get]
 

Member Data Documentation

◆ _liquidColors

readonly Color [] Terraria.ID.Colors._liquidColors
static
Initial value:
= new Color[12] {
new Color(9, 61, 191),
new Color(253, 32, 3),
new Color(59, 29, 131),
new Color(7, 145, 142),
new Color(171, 11, 209),
new Color(9, 137, 191),
new Color(168, 106, 32),
new Color(36, 60, 148),
new Color(65, 59, 101),
new Color(200, 0, 0),
new Color(177, 54, 79),
new Color(255, 156, 12)
}

◆ _waterfallColors

readonly Color [] Terraria.ID.Colors._waterfallColors
static
Initial value:
= new Color[22] {
new Color(9, 61, 191),
new Color(253, 32, 3),
new Color(143, 143, 143),
new Color(59, 29, 131),
new Color(7, 145, 142),
new Color(171, 11, 209),
new Color(9, 137, 191),
new Color(168, 106, 32),
new Color(36, 60, 148),
new Color(65, 59, 101),
new Color(200, 0, 0),
default(Color),
default(Color),
new Color(177, 54, 79),
new Color(255, 156, 12),
new Color(91, 34, 104),
new Color(102, 104, 34),
new Color(34, 43, 104),
new Color(34, 104, 38),
new Color(104, 34, 34),
new Color(76, 79, 102),
new Color(104, 61, 34)
}