VBScript RGB İşlevi
❮ Komple VBScript Referansı
RGB işlevi, bir RGB renk değerini temsil eden bir sayı döndürür.
Sözdizimi
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 |
Örnekler
örnek 1
<%
response.write(rgb(255,0,0))
%>
Yukarıdaki kodun çıktısı şöyle olacaktır:
255
Örnek 2
<%
response.write(rgb(255,30,30))
%>
Yukarıdaki kodun çıktısı şöyle olacaktır:
1974015
❮ Komple VBScript Referansı