The issue has been closed
Currently it converts #FF00 to #FFFF00.
> const color = require('color')
> color('#FF00').hex()
'#FFFF00'
Is there any way to convert from #FF00 to #FF0000?
Thanks.

No, because that doesn't make any sense. #FF00 equates to #FFFF0000 (alpha of 0) as per the CSS specification. I think you're misunderstanding how hex color shorthand works 😉
Shorthand for red is #F00.
posted by Qix- over 4 years ago
posted by maltoze over 4 years ago 
That is the <font>
tag that hasn't been used in decades. Its color semantics are not governed by CSS. What are you trying to do? Don't use the font tag...
posted by Qix- over 4 years ago
I'm parsing a old website which has a lot of font tag...
posted by maltoze over 4 years ago