st.cpp - basic string manipulation, writing an RGB triplet into template