# صداع متغيرات خاصية اللون في SCSS

**URL:** <https://meta.discourse.org/t/scss-color-property-variable-headaches/278711>\
**Category:** Development\
**Created:** [12 سبتمبر 2023، 12:37م UTC](https://meta.discourse.org/t/scss-color-property-variable-headaches/278711 "2023-09-12T12:37:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [12 سبتمبر 2023، 12:43م UTC](https://meta.discourse.org/t/scss-color-property-variable-headaches/278711/2 "2023-09-12T12:43:41Z")

</div>

هل هذا يعمل معي؟

```plaintext
$header_color: rgb(0,0,0);
$transparency: 0.5;

.d-header {
    background: rgba($header_color, $transparency);
}

```

---

_[View the full topic](https://meta.discourse.org/t/scss-color-property-variable-headaches/278711)._
