> For the complete documentation index, see [llms.txt](https://neverlose.gitbook.io/neverlose/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neverlose.gitbook.io/neverlose/methods/color.md).

# Color

**RGBA** stands for **red green blue alpha**. While it is sometimes described as a [color space](https://en.wikipedia.org/wiki/Color_space), it is actually the three-channel [RGB color model](https://en.wikipedia.org/wiki/RGB_color_model) supplemented with a fourth *alpha channel*. Alpha indicates how opaque each pixel is and allows an image to be combined over others using [alpha compositing](https://en.wikipedia.org/wiki/Alpha_compositing), with [transparent](https://en.wikipedia.org/wiki/Transparency_\(graphic\)) areas and [anti-aliasing](https://en.wikipedia.org/wiki/Spatial_anti-aliasing) of the edges of opaque regions.

## Color.new():

```
		Creates new Color object (0,0,0,0)
```

## Color.new(float r, float g, float b)

```
		Creates new Color object (r,g,b,255)
```

## Color.new(float r, float g, float b, float a)

```
		Creates new Color object (r,g,b,a)
```

## float r()

```
		Returns Red value of object
```

## float g()

```
		Returns Green value of object
```

## float b()

```
		Returns Blue value of object
```

## float a()

```
		Returns Alpha value of object
```
