diff --git a/lib/devices/custom.js b/lib/devices/custom.js
index <HASH>..<HASH> 100644
--- a/lib/devices/custom.js
+++ b/lib/devices/custom.js
@@ -95,7 +95,7 @@ module.exports = function custom(device) {
         break;
 
       case "string":
-        if (colors[color]) {
+        if (colors.hasOwnProperty(color)) {
           color = hexToRgb(colors[color]);
           break;
         }
Checking colors for a property rather than if it has a value

'black' was coming back falsey and coming back as invalid