---
nav-title: "color How-To"
title: "color"
environment: nativescript
description: "Examples for using color"
previous_url: /ApiReference/color/HOW-TO
---
# Color
Using Colors requires the "color" module.
{%snippet color-require%}

### Creating a Color from a hex value.
{%snippet color-hex%}

### Creating a Color from a short hex value.
{%snippet color-hex-short%}

### Creating a Color from four ARGB values
{%snippet color-rgb%}

### Creating a Color from a single ARGB value
{%snippet color-rgb-single%}
