A quick script to make a terminal beamer-ready:

#!/bin/bash
export PS1="%~ $ "
# Foreground black
printf "\033]10;#000000\007"
# Background white
printf "\033]11;#ffffff\007"
# Font Size
printf '\33]50;%s%d\007' "xft:Hack:medium:size=16:antialias=true"

Then use

source beamerfont.sh

to apply everything.

That the dynamic color works, you need to set

xterm*dynamicColors: true
urxvt*dynamicColors: on

in your .Xresources