#baaaf5
این رنگ روشن است | متن روی بلوک دارای پس زمینه با این رنگ |
Hex | #baaaf5 |
RGB | ( 186 ,170 ,245 ) |
HSL | ( 252.8 , 0.79 , 0.81 ) |
برای رنگ پس زمینه از کلاس bgcolor و برای رنگ متن از کلاس forecolor و برای رنگ قاب دور المان ها از کلاس bordercolor استفاده کنید
<style> .bgcolor { background-color:#baaaf5; } .forecolor { color:#baaaf5; } .bordercolor { border:3px solid #baaaf5; } </style>
برای نوشتن یک متن با این رنگ می توانید از کد زیر استفاده کنید
<p style='color:#baaaf5'>متن دلخواه شما</p>
کد یک متن سایه دار با این رنگ
<p style='text-shadow: 4px 4px 2px rgba(186,170,245, 0.8);'>متن دلخواه سایه دار</p>
ایجاد یک محیط (div) با رنگ پس زمینه
<div style='background-color:#baaaf5'>محتوای محیط</div>
ایجاد یک (gradients) برای css3 با پشتیبانی انواع مرورگرها
background-color: #baaaf5;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#baaaf5', endColorstr='#957cf0');background-image: -webkit-linear-gradient(top, #baaaf5, #957cf0);background-image: linear-gradient(to bottom, #baaaf5, #957cf0);