VBScript RGB 기능


❮ 완전한 VBScript 참조

RGB 함수는 RGB 색상 값을 나타내는 숫자를 반환합니다.

통사론

RGB(red,green,blue)

Parameter Description
red Required. A number from 0 to 255, inclusive, representing the red component of the color
green Required. A number from 0 to 255, inclusive, representing the green component of the color
blue Required. A number from 0 to 255, inclusive, representing the blue component of the color

실시예 1

<%

response.write(rgb(255,0,0))

%>

위 코드의 출력은 다음과 같습니다.

255

실시예 2

<%

response.write(rgb(255,30,30))

%>

위 코드의 출력은 다음과 같습니다.

1974015

❮ 완전한 VBScript 참조