Just a couple of details, for those who care about these things.
- you don't need the .dd property here, it's only necessary in colouring using ^K (where codes are mixed with plain text).
- you could replace
echo $color(own).dd -t
with
echo -ct own
making the code shorter (and faster, since there's one less identifier evaluation).