You'd have to leave a colour trailing after the PS1 (start it after `>` in your example), and then use the bash `DEBUG` trap to clear the colour before your command was run (but after you press enter in your shell. Try something like this:

    shopt -s extdebug
    trap "printf '\e[0m'" DEBUG