# ColorStyles enum

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[Flags]
public enum ColorStyles
```

Color styles when parsing or converting the Color struct

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Default style for Eto |
| ExcludeAlpha | 1 | Exclude the alpha component when parsing or when converting to hex, omit alpha if possible (it equals 1.0 / 255) |
| AlphaLast | 4 | Specifies that the alpha component comes last when in hex (compatible with CSS format), otherwise alpha is first |
| ShortHex | 8 | Use short hex version, if possible. |
| All | 13 | All color styles |
