hi !
maybe it's best that each topic has a well-descriptive title, .. better than 'help me' or 'problem'. 🙂
color("#ff0000") is the old hexadecimal color code for red.
color(1,0,0) is rgb (0-1, not 0 - 255 !) color code for red. this can be used only in 2011 and after.
so you need to write the hex version in 2010.3, ok ?