# color-hex-length

Specify short or long notation for hex colors.

```css
    a { color: #fff }
/**              ↑
 * These hex colors */
```

## Options

`string`: `"short"|"long"`

### `"short"`

The following patterns are considered warnings:

```css
a { color: #ffffff; }
```

```css
a { color: #fffffaa; }
```

The following patterns are *not* considered warnings:


```css
a { color: #fff; }
```

```css
a { color: #fffa; }
```

### `"long"`

The following patterns are considered warnings:

```css
a { color: #fff; }
```

```css
a { color: #fffa; }
```

The following patterns are *not* considered warnings:


```css
a { color: #ffffff; }
```

```css
a { color: #fffffaa; }
```

# color-hex-length

Specify short or long notation for hex colors.

```css
    a { color: #fff }
/**              ↑
 * These hex colors */
```

## Options

`string`: `"short"|"long"`

### `"short"`

The following patterns are considered warnings:

```css
a { color: #ffffff; }
```

```css
a { color: #fffffaa; }
```

The following patterns are *not* considered warnings:


```css
a { color: #fff; }
```

```css
a { color: #fffa; }
```

```css
a { color: #a4a4a4; }
```

### `"long"`

The following patterns are considered warnings:

```css
a { color: #fff; }
```

```css
a { color: #fffa; }
```

The following patterns are *not* considered warnings:


```css
a { color: #ffffff; }
```

```css
a { color: #fffffaa; }
```

Clarify which patterns aren't warnings
Clarify which patterns aren't warnings