# base/colors (vanilla.js 0.4.0)

> https://vanillapunch.com/docs/vanilla.js/0.4.0/api/base/colors/

색상 값.

예제: 바닐라색 문자열로 색 만들기

```js
import { Colors, Color } from "./build/vanilla.js";

const colorString = Colors.vanilla;
const background = Color.createFromHEX(colorString);
console.log(Colors.darkVanilla, background.toRGBAString());
```

## Colors (enum)

색상 값.

- `black` = `#000000`: 검은색. (#000000)
- `white` = `#ffffff`: 흰색. (#ffffff)
- `vanilla` = `#f3e5ab`: 바닐라색. (#f3e5ab)
- `darkVanilla` = `#d1c1b2`: 어두운 바닐라색. (#d1c1b2)
- `lightVanilla` = `#f1e9d8`: 밝은 바닐라색. (#f1e9d8)
