diff --git a/AppKit/CPColor.j b/AppKit/CPColor.j index 2ba97a1cc..5866fb0d4 100644 --- a/AppKit/CPColor.j +++ b/AppKit/CPColor.j @@ -267,7 +267,7 @@ var cachedBlackColor, @return an initialized RGB color */ -+ (CPColor)colorWithHexString:(string)hex ++ (CPColor)colorWithHexString:(CPString)hex { var rgba = hexToRGB(hex); return rgba ? [[CPColor alloc] _initWithRGBA: rgba] : null;