Rendered Text:

Primary Color:

Secondary Color:

Output:

Hello!

Pixel Process (Internal)

function pixel_process(pixel) {
    if (pixel[3] == 255 && pixel[0] > 245 && pixel[1] > 245 && pixel[2] > 245) {
        pixel = primaryColor;
    } else if (pixel[3] == 255) {
        pixel = secondaryColor;
    }
    return pixel;
}