JavaScript 參考手冊
CSS CSSStyleDeclaration
返回 color 屬性的值:
getPropertyValue() 方法返回指定的 CSS 屬性的值。
object.getPropertyValue(propertyname)