how to use background for various colour... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to use background for various colour...

i want use different colours in background , so how to use html for this...

12th Nov 2019, 5:20 AM
KESHAV KUMAR
KESHAV KUMAR - avatar
2 Answers
+ 5
ok keshav In HTML <p style="background-color:red">...........................</p> use this statement with the elements; style"background-color:red" the color names can be names, hex values or rgb values names: red, green, darkblue, orange, cyan, lightyellow,etc. hex values are the any six letters or numbers from 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f: #000000(black), #ffffff(white) rgb values means proportion of red green and blue in the color: rgb(100,100,100)
12th Nov 2019, 9:05 AM
ツSampriya😘ツ
ツSampriya😘ツ - avatar
0
Hello,differents colours but which way? Are they changing through time or by scrolling down?Are they differents area of the background or are they superposed...I guess it could lead to different way to handle it.
13th Nov 2019, 12:58 AM
EmmanueLZ.
EmmanueLZ. - avatar