For example,
ctermfg=DarkBlue
How vim decides the rgb value for the color name DarkBlue? It was said that it was described in $VIMRUNTIME/rgb.txt. But in some release of vim this file does not exist.
BTW, how vim decides the rgb value for a numeric color, such as
ctermfg=0
Vim doesn't decide anything about those colors.
It just tells the terminal emulator to use
DarkBlueor0, without caring about the actual RGB values at all.