# Data variable into custom CSS

**URL:** https://community.glideapps.com/t/data-variable-into-custom-css/80511
**Category:** Ask for Help
**Created:** [March 5, 2025, 11:08am UTC](https://community.glideapps.com/t/data-variable-into-custom-css/80511 "2025-03-05T11:08:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lewis\_Parker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lewis_parker/32/91147_2.png) [@Lewis\_Parker](https://community.glideapps.com/u/Lewis_Parker)
#### Post date: [March 5, 2025, 11:08am UTC](https://community.glideapps.com/t/data-variable-into-custom-css/80511/1 "2025-03-05T11:08:17Z")

</div>

Hello,

At the moment I edit the card background colour using the glide variable

–gv-bg-front: #0c1322;

in custom CSS

i was wondering if there was a way to declare the hex code by user ? either in the custom css itself or ideally the user inputs their preferred hex code in their profile for example.

Any ideas on the feasibility of this?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [March 5, 2025, 11:58pm UTC](https://community.glideapps.com/t/data-variable-into-custom-css/80511/2 "2025-03-05T23:58:09Z")

</div>

I don’t think you can do that, it was one of those things you can do on Classic but maybe not in the newest version.
