팩토리 » Api

rgb

Description

RGB 수치를 가지고 색상을 넘겨주는 API이다.

Parameters

Parameters Type Description
nRValue short Red 값
nGValue short Green 값
nBValue short Blue 값

Return Value

Type Description
COLOR 색상

Remark

nRValue, nGValue, nBValue 파라미터를 모두 입력해야 하며 그렇지 않은 경우 NaN값이 반환된다.

Example

function btnSetheaderbackcolor_on_mouseup() { var clrBack = factory.rgb(135, 120, 5); grdTest.setheaderbackcolor(0, 0, clrBack); }

See Also

torgbhex

Viewer Ver.

9.1.1.1

Update Date

20220504