The API you point to is the C API. The one you use is all documented here:
For the color part, you can use tuples (R,G,B)
For the color part, you can use tuples (R,G,B)
Code:
# selecting blue (#0000FF)
# No decimal dot, integer format, [0 .. 255] range assumed
pdb.gimp_image_select_color(image, CHANNEL_OP_REPLACE, layer, (0,0,255))
# Decimal dot, floating point format, [0.0 .. 1.0] range assumed
pdb.gimp_image_select_color(image, CHANNEL_OP_REPLACE, layer, (0.,0.,1.))
# You can of course use a variable:
color=(0,0,255)
pdb.gimp_image_select_color(image, CHANNEL_OP_REPLACE, layer, color)