Most of the settings correspond to the Window Colour and Appearance settings, although the names may not always match up. For example, in CSS Background is equivalent to Desktop. If you want to test this, visit this helpful page, adjust some settings on your system, and then refresh the page.
UPDATE: The Highlight setting in system preferences is similar to Selected Items. To control this in non-IE browsers, you can utilize the ::selection selectors mentioned in the text.
What is the purpose of being able to do this? If it's just for your own computer, then only you will see the colors you choose - you could simply add them to the CSS. However, if it's for a kiosk or public machine, it's better to code the desired colors in the website to prevent users from altering the site by changing system preferences.
Although you can change how selected text appears to all users, this feature may only work in Firefox and Webkit browsers, not in IE.
::-moz-selection{ background: #666; color:#fff; }
::selection { background:#666; color:#fff; }
With these CSS rules, selected text will be displayed in white on a dark grey background.
For more information, check out these useful links: and https://developer.mozilla.org/en-US/docs/Web/CSS/color_value - specifically look for system colors section.