Color: objectAn RGBA colorMethodpublic Color.Constructor(red, green, blue, alpha=100%)public readonly int Color.AReturns the Alpha componentpublic readonly Color Color.AddAlpha(value)Return this color with alpha setpublic readonly int Color.BReturns the Blue componentpublic static Color Color.ChartColor(index)Get a chart color from an indexpublic virtual int object.Compare(value)Compares this object with another and returns (-1, 0, or 1)public readonly Color Color.ComplimentReturns the RGB complimentpublic static Color Color.FromCMYKA(cyan, yellow, magenta, black, alpha=100%)Create a color from Cyan(%), Yellow(%), Magenta(%), Black(%)public static Color Color.FromHSLA(hue, saturation, lightness, alpha=100%)Create a color from Hue(0-360), Saturation(%), Lightness(%), and Alpha(%) valuespublic readonly int Color.GReturns the Green componentpublic virtual Icon object.GetIconReturn a icon for this objectpublic virtual object.GetLayoutBlockReturn a layout inside a blockpublic virtual object.GetLayoutSpanReturn a layout inside a spanpublic virtual object.GetLayoutTipReturn a layout for the hint popuppublic virtual object.GetSourceReferenceReturn a source reference for this objectpublic virtual void object.GetTexSource(source)LaTeX source code for this objectpublic static Color Color.GrayScale(percent)Create a gray scale color from a percentage
public readonly double Color.HReturns the Hue componentpublic readonly string Color.HTMLSourceHTML souorce stringpublic readonly double Color.LReturns the Lightness componentpublic readonly int Color.RReturns the Red componentpublic readonly double Color.SReturns the Saturation componentpublic readonly Color Color.Scale(value)Multiply RGB components by a factorpublic readonly Color Color.TextComplimentReturns white or black