fixed stroke font color with channel color values other than 255

When stroke color is set to values like #C261BD it becomes black due to bad casting.