[CSS]색활용

정은아·2022년 9월 19일
0
<!DOCTYPE html>
<html>
 <head>
  <meta charset="UTF-8">
  <title>CSS 색 활용</title>
<style>
div {
     margin-left : 30px;
	 margin-right : 30px;
	 margin-bottom : 50px;
	 color : white;
	 }
</style>

 </head>
 <body>
 <h3>CSS3 색 활용</h3>
 <hr>
 <div style="background-color:deepskyblue">
      deepskyblue(#00BFFF)</div>

 <div style="background-color:brown">
      brown(#A52A2A)</div>

 <div style="background-color:fuchsia">
      fuchsia(#FF00FF)</div>

 <div style="background-color:darkorange">
      darkorange(#FF8C00)</div>

 <div style="background-color:#008B8B">
      darkcyan(#008B8B)</div>

 <div style="background-color:#6B8E23">
      olivedrab(#6B8E23)</div>
  
 </body>
</html>

profile
꾸준함의 가치를 믿는 개발자

0개의 댓글