Documentation ¶
Index ¶
Constants ¶
View Source
const Attenuate = 0.746
Variables ¶
View Source
var ( EmphasizeR = Palette{Emphasis: Red} EmphasizeG = Palette{Emphasis: Green} EmphasizeB = Palette{Emphasis: Blue} EmphasizeRG = Palette{Emphasis: Red | Green} EmphasizeRB = Palette{Emphasis: Red | Blue} EmphasizeGB = Palette{Emphasis: Green | Blue} EmphasizeRGB = Palette{Emphasis: Red | Green | Blue} )
View Source
var Default = Palette{ RGBA: [64]color.RGBA{ 0x00: {0x69, 0x6B, 0x63, 0xFF}, 0x01: {0x00, 0x17, 0x74, 0xFF}, 0x02: {0x1E, 0x00, 0x87, 0xFF}, 0x03: {0x34, 0x00, 0x73, 0xFF}, 0x04: {0x56, 0x00, 0x57, 0xFF}, 0x05: {0x5E, 0x00, 0x13, 0xFF}, 0x06: {0x53, 0x1A, 0x00, 0xFF}, 0x07: {0x3B, 0x24, 0x00, 0xFF}, 0x08: {0x24, 0x30, 0x00, 0xFF}, 0x09: {0x06, 0x3A, 0x00, 0xFF}, 0x0A: {0x00, 0x3F, 0x00, 0xFF}, 0x0B: {0x00, 0x3B, 0x1E, 0xFF}, 0x0C: {0x00, 0x33, 0x4E, 0xFF}, 0x0D: {0x00, 0x00, 0x00, 0xFF}, 0x0E: {0x00, 0x00, 0x00, 0xFF}, 0x0F: {0x00, 0x00, 0x00, 0xFF}, 0x10: {0xB9, 0xBB, 0xB3, 0xFF}, 0x11: {0x14, 0x53, 0xB9, 0xFF}, 0x12: {0x4D, 0x2C, 0xDA, 0xFF}, 0x13: {0x67, 0x1E, 0xDE, 0xFF}, 0x14: {0x98, 0x18, 0x9C, 0xFF}, 0x15: {0x9D, 0x23, 0x44, 0xFF}, 0x16: {0xA0, 0x3E, 0x00, 0xFF}, 0x17: {0x8D, 0x55, 0x00, 0xFF}, 0x18: {0x65, 0x6D, 0x00, 0xFF}, 0x19: {0x2C, 0x79, 0x00, 0xFF}, 0x1A: {0x00, 0x81, 0x00, 0xFF}, 0x1B: {0x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0x3E: {0x00, 0x00, 0x00, 0xFF}, 0x3F: {0x00, 0x00, 0x00, 0xFF}, }, }
Functions ¶
func LoadPalFile ¶
func UpdateEmphasized ¶
func UpdateEmphasized()
Types ¶
Click to show internal directories.
Click to hide internal directories.