Use <code>color.alias.blank? ? color.hex_value : color.alias</code> since <code>"" || "#ffffff"</code> returns <code>""</code>