Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > cursesライブラリ > Cursesモジュール > init_color

module function Curses.#init_color

init_color(color, r, g, b) -> bool[permalink][rdoc]

[TODO]

Changes the definition of a color. It takes four arguments:

The value of the first argument must be between 0 and COLORS. (See the section Colors for the default color index.) Each of the last three arguments must be a value between 0 and 1000. When Curses.init_color is used, all occurrences of that color on the screen immediately change to the new definition.

[PARAM] color:
???
[PARAM] r:
レッドの量を指定します。
[PARAM] g:
グリーンの量を指定します。
[PARAM] b:
ブルーの量を指定します。