I think markup languages don't have functions in them then what is rgb() ?
Asked
Active
Viewed 95 times
1 Answers
1
In HTML, rgb()
has no special meaning. It is just text.
In CSS, rgb()
is a syntax for describing colours and is not a function.
In JavaScript, rgb()
is a call to a function called rgb
. This is not a built in function and you have to define it yourself.

Quentin
- 914,110
- 126
- 1,211
- 1,335