Rename angle parameter to rotation.
No need to use parseFloat() in color parsing, a + does enough.