---
name: "Curses.initColour"
section: "3kaya"
platform: "linux"
package: "libkaya-ncurses-dev"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Curses.initColour"
---

# Curses.initColour(3kaya)

Initialise a new colour

## NAME

Curses::initColour - Initialise a new colour

## SYNOPSIS

**Void initColour(** *Int col, Int r, Int g, Int b* **)**

## ARGUMENTS

**col** The colour number to redefine (0 to **Curses.Colours (3kaya)** )

**r** The new red channel value (0-1000)

**g** The new green channel value (0-1000)

**b** The new blue channel value (0-1000)

## DESCRIPTION

Initialise a new colour, or change an existing colour, provided that the terminal supports this operation.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Curses.initPair (3kaya)**
