---
title: "Kylon Tyner (@ktyner) | Hashnode"
description: "I'm a fullstack developer who dabbles in anything interesting! Read the latest articles by Kylon Tyner on Hashnode."
url: "https://hashnode.com/@ktyner"
---

@ktyner

# Kylon Tyner

@ktyner · Joined July 2021

I'm a fullstack developer who dabbles in anything interesting!

## Comments

[Excellent write-up! Something I've found annoying with the variables is that if you create a variable like this: --clr-primary: #fa0e9d; you can't then use that variable like so: background-color: rgba(var(--clr-primary), 0.5) A solution I've found is to create 2 variables: :root { --clr-primary: rgb(var(--clr-primary-rgb)); --clr-primary-rgb: 250, 14, 157; } .otherElement { background-color: rgba(var(--clr-primary-rgb), 0.5); } Cheers 🍻](https://hashnode.com/posts/custom-properties-in-css-a-handful-approach-to-write-your-code/60fd0b7718fbbb77c946706d/comment/6100a83b2db92534dc931deb)

Comment · Article · Jul 28, 2021 · [Custom Properties in CSS : A handful approach to write your code](https://hashnode.com/posts/custom-properties-in-css-a-handful-approach-to-write-your-code/60fd0b7718fbbb77c946706d)
