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 |
ဥပမာများ
ဥပမာ ၁
<%
response.write(rgb(255,0,0))
%>
အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-
255
ဥပမာ ၂
<%
response.write(rgb(255,30,30))
%>
အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-
1974015
❮ VBScript အကိုးအကားကို အပြီးသတ်ပါ။