In the NameColor context Tinderbox toggles the text colour from black to White and vice-versa depending on the colour value in 'Color'. In the context of $BorderColor the bevel colours used are lighter and darker gradations of the value specified for 'Color' so as to not contrast unduly with the main 'face' colour of the note (especially in Map view).
If automatic is displayed as one of a note's Displayed Attributes, the colour chip for 'automatic' always shows as a dark red (#6F0000) regardless of the colour actually used, e.g. $NameColor may show as white in Map view but as dark red in the note's colour chip. If Color-type attributes that do not support the 'automatic' token are set to the value 'automatic' the resulting colour actually used is #6F0000. In some later versions, this 'mis-set' colour equates to a green, #00D001.
This value cannot be customised by the user, unlike other named colours.