Drag segments, pick colors, and watch the prompt render live. Uses standard Bash PS1 escape codes (\u \h \w \$ \A) and ANSI color with proper \[ \] wrappers so readline counts the width correctly. Copy the line straight into your ~/.bashrc.
$USER, $HOSTNAME, $PWD, etc.~/.bashrc and run source ~/.bashrc.