• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ColorFormat

Preferred name for DrawingColor. Represents a color used for shapes, charts, and other drawing objects. Maps to the OOXML CT_Color complex type.

Inheritance
object
DrawingColor
ColorFormat
Inherited Members
DrawingColor.Equals(DrawingColor)
DrawingColor.Equals(object)
DrawingColor.GetHashCode()
DrawingColor.FromColorName(string)
DrawingColor.FromHex(string)
DrawingColor.FromHsl(double, double, double)
DrawingColor.FromArgb(byte, byte, byte, byte)
DrawingColor.FromRgb(byte, byte, byte)
DrawingColor.FromScRgb(float, float, float)
DrawingColor.ToHex(Color)
DrawingColor.ToHexWithAlpha(Color)
DrawingColor.Type
DrawingColor.Theme
DrawingColor.A
DrawingColor.R
DrawingColor.G
DrawingColor.B
DrawingColor.H
DrawingColor.S
DrawingColor.L
DrawingColor.AliceBlue
DrawingColor.AntiqueWhite
DrawingColor.Aqua
DrawingColor.Aquamarine
DrawingColor.Azure
DrawingColor.Beige
DrawingColor.Bisque
DrawingColor.Black
DrawingColor.BlanchedAlmond
DrawingColor.Blue
DrawingColor.BlueViolet
DrawingColor.Brown
DrawingColor.Chartreuse
DrawingColor.BurlyWood
DrawingColor.CadetBlue
DrawingColor.Chocolate
DrawingColor.Coral
DrawingColor.CornflowerBlue
DrawingColor.Cornsilk
DrawingColor.Crimson
DrawingColor.Cyan
DrawingColor.DeepPink
DrawingColor.DeepSkyBlue
DrawingColor.DimGray
DrawingColor.DarkBlue
DrawingColor.DarkCyan
DrawingColor.DarkGoldenrod
DrawingColor.DarkGray
DrawingColor.DarkGreen
DrawingColor.DarkKhaki
DrawingColor.DarkMagenta
DrawingColor.DarkOliveGreen
DrawingColor.DarkOrange
DrawingColor.DarkOrchid
DrawingColor.DarkRed
DrawingColor.DarkSalmon
DrawingColor.DarkSeaGreen
DrawingColor.DarkSlateBlue
DrawingColor.DarkSlateGray
DrawingColor.DarkTurquoise
DrawingColor.DarkViolet
DrawingColor.DodgerBlue
DrawingColor.Firebrick
DrawingColor.FloralWhite
DrawingColor.ForestGreen
DrawingColor.Fuchsia
DrawingColor.Gainsboro
DrawingColor.GhostWhite
DrawingColor.Gold
DrawingColor.Goldenrod
DrawingColor.Gray
DrawingColor.Green
DrawingColor.GreenYellow
DrawingColor.Honeydew
DrawingColor.HotPink
DrawingColor.IndianRed
DrawingColor.Indigo
DrawingColor.Ivory
DrawingColor.Khaki
DrawingColor.Lavender
DrawingColor.LavenderBlush
DrawingColor.LawnGreen
DrawingColor.LemonChiffon
DrawingColor.Lime
DrawingColor.LimeGreen
DrawingColor.Linen
DrawingColor.LightBlue
DrawingColor.LightCoral
DrawingColor.LightCyan
DrawingColor.LightGoldenrodYellow
DrawingColor.LightGray
DrawingColor.LightGreen
DrawingColor.LightPink
DrawingColor.LightSalmon
DrawingColor.LightSeaGreen
DrawingColor.LightSkyBlue
DrawingColor.LightSlateGray
DrawingColor.LightSteelBlue
DrawingColor.LightYellow
DrawingColor.Magenta
DrawingColor.Maroon
DrawingColor.MediumAquamarine
DrawingColor.MediumBlue
DrawingColor.MediumOrchid
DrawingColor.MediumPurple
DrawingColor.MediumSeaGreen
DrawingColor.MediumSlateBlue
DrawingColor.MediumSpringGreen
DrawingColor.MediumTurquoise
DrawingColor.MediumVioletRed
DrawingColor.MidnightBlue
DrawingColor.MintCream
DrawingColor.MistyRose
DrawingColor.Moccasin
DrawingColor.NavajoWhite
DrawingColor.Navy
DrawingColor.OldLace
DrawingColor.Olive
DrawingColor.OliveDrab
DrawingColor.Orange
DrawingColor.OrangeRed
DrawingColor.Orchid
DrawingColor.PaleGoldenrod
DrawingColor.PaleGreen
DrawingColor.PaleTurquoise
DrawingColor.PaleVioletRed
DrawingColor.PapayaWhip
DrawingColor.PeachPuff
DrawingColor.Peru
DrawingColor.Pink
DrawingColor.Plum
DrawingColor.PowderBlue
DrawingColor.Purple
DrawingColor.Red
DrawingColor.RosyBrown
DrawingColor.RoyalBlue
DrawingColor.SaddleBrown
DrawingColor.Salmon
DrawingColor.SandyBrown
DrawingColor.SeaGreen
DrawingColor.SeaShell
DrawingColor.Sienna
DrawingColor.Silver
DrawingColor.SkyBlue
DrawingColor.SlateBlue
DrawingColor.SlateGray
DrawingColor.Snow
DrawingColor.SpringGreen
DrawingColor.SteelBlue
DrawingColor.Tan
DrawingColor.Teal
DrawingColor.Thistle
DrawingColor.Tomato
DrawingColor.Turquoise
DrawingColor.Violet
DrawingColor.Wheat
DrawingColor.White
DrawingColor.WhiteSmoke
DrawingColor.Yellow
DrawingColor.YellowGreen
DrawingColor.Background1
DrawingColor.Text1
DrawingColor.Background2
DrawingColor.Text2
DrawingColor.Accent1
DrawingColor.Accent2
DrawingColor.Accent3
DrawingColor.Accent4
DrawingColor.Accent5
DrawingColor.Accent6
DrawingColor.Hyperlink
DrawingColor.FollowedHyperlink
DrawingColor.Style
DrawingColor.Dark1
DrawingColor.Light1
DrawingColor.Dark2
DrawingColor.Light2
DrawingColor.ActiveBorder
DrawingColor.ActiveCaption
DrawingColor.AppWorkspace
DrawingColor.Background
DrawingColor.ButtonFace
DrawingColor.ButtonHighlight
DrawingColor.ButtonShadow
DrawingColor.ButtonText
DrawingColor.CaptionText
DrawingColor.GradientActiveCaption
DrawingColor.GradientInactiveCaption
DrawingColor.GrayText
DrawingColor.Highlight
DrawingColor.HighlightText
DrawingColor.HotLight
DrawingColor.InactiveBorder
DrawingColor.InactiveCaption
DrawingColor.InactiveCaptionText
DrawingColor.InfoBk
DrawingColor.InfoText
DrawingColor.Menu
DrawingColor.MenuBar
DrawingColor.MenuHighlight
DrawingColor.MenuText
DrawingColor.ScrollBar
DrawingColor.Window
DrawingColor.WindowFrame
DrawingColor.WindowText
DrawingColor.DarkShadow3D
DrawingColor.Light3D
DrawingColor.HexColor
DrawingColor.ToArgb()
DrawingColor.ToArgb(Theme)
DrawingColor.ToColor()
DrawingColor.ToHex()
DrawingColor.Transform(ColorTransform)
DrawingColor.Transforms
DrawingColor.Tint
DrawingColor.Shade
DrawingColor.GetContrast(bool)
DrawingColor.ToHslColor()
DrawingColor.ToHslColor(ARgb)
DrawingColor.FromHslColor(Hsl)
DrawingColor.SystemColor
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class ColorFormat : DrawingColor

Constructors

ColorFormat(byte, byte, byte)

Initializes a new color from RGB byte values.

Declaration
public ColorFormat(byte r, byte g, byte b)
Parameters
Type Name Description
byte r
byte g
byte b

ColorFormat(Color)

Initializes a new color from a Color.

Declaration
public ColorFormat(Color color)
Parameters
Type Name Description
Color color

ColorFormat(string)

Initializes a new color from a hex string (e.g. "FF0000").

Declaration
public ColorFormat(string hexColor)
Parameters
Type Name Description
string hexColor
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX