# ScriptColor

## 설명 <a href="#undefined" id="undefined"></a>

색을 나타내는 클래스입니다.

## 속성 <a href="#undefined" id="undefined"></a>

| 형식                  | 설명                |
| ------------------- | ----------------- |
| int a { get; set; } | 투명도 (0 \~ 255) 예제 |
| int r { get; set; } | 빨강 (0 \~ 255)     |
| int g { get; set; } | 초록 (0 \~ 255)     |
| int b { get; set; } | 파랑 (0 \~ 255)     |

## 함수 <a href="#undefined" id="undefined"></a>

| 형식                                                       | 설명                                                                                                                                                                                                                                |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| static ScriptColor New(int r, int g, int b, int a = 255) | 새 ScriptColor 객체를 생성합니다. [예제](https://nekoland.atlassian.net/wiki/spaces/nekoland/pages/457113660/ScriptColor#%EB%B9%A8%EA%B0%84%EC%83%89%EC%9D%84-%EA%B0%80%EC%A7%84-ScriptColor-%EA%B0%9D%EC%B2%B4-%EB%A7%8C%EB%93%A4%EA%B8%B0) |

## 사용 예제 <a href="#undefined" id="undefined"></a>

**빨간색을 가진 ScriptColor 객체 만들기**

```
local red = Color(255, 0, 0);
```
