# ColourRGB Struct Reference

`#include <Colour.h>`

List of all members.

## Public Member Functions
| ColourRGB ()
| ColourRGB (const unsigned char &R, const unsigned char &G, const unsigned char &B)
bool | operator== (const ColourRGB &colour) const
## Static Public Member Functions
static ColourRGB | GetRandomColour ()
## Public Attributes
unsigned char | r
unsigned char | g
unsigned char | b

## Detailed Description

Definition at line 6 of file Colour.h.

## Constructor & Destructor Documentation

ColourRGB::ColourRGB | ( |  | ) | `[inline]`

Definition at line 8 of file Colour.h.

ColourRGB::ColourRGB | ( | const unsigned char & | R,
|  | const unsigned char & | G,
|  | const unsigned char & | B |
| ) |  |  | `[inline]`

Definition at line 9 of file Colour.h.

## Member Function Documentation

static ColourRGB ColourRGB::GetRandomColour | ( |  | ) | `[inline, static]`

Definition at line 22 of file Colour.h.

bool ColourRGB::operator== | ( | const ColourRGB & | colour | ) | const`[inline]`

Definition at line 14 of file Colour.h.

## Member Data Documentation

unsigned char ColourRGB::b

Definition at line 27 of file Colour.h.

unsigned char ColourRGB::g

Definition at line 27 of file Colour.h.

unsigned char ColourRGB::r

Definition at line 27 of file Colour.h.

The documentation for this struct was generated from the following file:

- C:/Users/Public/AGS Final Folder/BFLETCHER D4010283/Source/Game/Source/Colour.h