getPropertyValue

The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.

MDN Reference