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