Bitwise Operation Test

Here I test 3 implementations that convert a string like "#ffffff" into an object like {r: 255, g: 255, b:255}.



Bitwise is faster here as it features fewer parseInt calls and less string manipulation. However, the difference is extremely small on modern PC / Mac machines.