팩토리 » Api

torgbhex

Description

파라미터를 기준으로 HEX 색상 문자열을 넘겨주는 API이다.

Return Value

Type Description
STRING HTML 헥사값 색상 문자열

Remark

파라미터는 아래와 같은 형식을 지원합니다.

Example

function btn_test_on_mouseup(objInst) { factory.consoleprint(factory.torgbhex([255, 0, 0])); factory.consoleprint(factory.torgbhex(255, 0, 0)); factory.consoleprint(factory.torgbhex(factory.rgb(255, 0, 0))); }

See Also

rgb

Viewer Ver.

9.1.1.1

Update Date

20211020