Skip to content

Commit

Permalink
fixed String::rgbToHsb (#214, thanks jmabey)
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Jul 17, 2008
1 parent 2bc3e89 commit c3fc900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Utilities/Color.js
Expand Up @@ -130,7 +130,7 @@ String.implement({

rgbToHsb: function(){
var rgb = this.match(/\d{1,3}/g);
return (rgb) ? hsb.rgbToHsb() : null;
return (rgb) ? rgb.rgbToHsb() : null;
},

hsbToRgb: function(){
Expand Down

0 comments on commit c3fc900

Please sign in to comment.