diff --git a/spectra.js b/spectra.js
index <HASH>..<HASH> 100644
--- a/spectra.js
+++ b/spectra.js
@@ -425,6 +425,10 @@
   Spectra.fn.prototype.rgbNumber = function() {
     return (this.red() << 16) | (this.green() << 8) | (this.blue());
   };
+  
+  // Use hex string function for toString operations
+  // to allow direct assignment to css properties
+  Spectra.fn.prototype.toString = Spectra.fn.prototype.hex;
 
   /**
    * API Functions
Use hex string for toString()

Use hex string function for spectra object's toString() method. This allows for direct assignment to css properties.