Enum MudColorOutputFormats
Specifies different output formats for MudColor.
public enum MudColorOutputFormats
- Extension Methods
Fields
ColorElements = 4Will output the color elements without any decorator and without alpha. Example 12,15,26
Hex = 0Output will be starting with a # and include r,g and b but no alpha values. Example #ab2a3d
HexA = 1Output will be starting with a # and include r,g and b and alpha values. Example #ab2a3dff
RGB = 2Will output css like output for value. Example rgb(12,15,40)
RGBA = 3Will output css like output for value with alpha. Example rgba(12,15,40,0.42)