Using only CSS, I do not see any solution outside of the suggestions I've given in the comments: Use a class containing the specific rules that the element should have.
But I think it still would not be what you're looking for, it would not be dynamic, because CSS has no events and you will not be able to control the change in an element.
So, I would use Javascript to get the color of the element and assign it to others. The control of "who is the target element?" and "who are the elements that will be affected?" you can do with data attributes . For example:
(function(){
var backgroundColor = document.querySelector('[data-parent]').style.backgroundColor,
targets = document.querySelectorAll('[data-target]');
for(var i = 0; i < targets.length; i++)
targets[i].style.backgroundColor = backgroundColor;
})();
<div data-parent style='background-color:blue'>Eu sou azul :)</div>
<hr>
<div data-target>Eu serei afetado.</div>
<div data-target>Eu também.</div>
<div>Eu não.</div>
<div data-target>Eu sim.</div>
Dynamic example
(function(){
document.querySelector('button').addEventListener('click', function(){
setRandomParentColor(); // Altera a cor do 'data-parent'
setTargetsColors(getParentColor()); // Pega a cor do elemento e altera todos os 'data-target'
});
/**
* Gera uma cor randomica e altera a cor de backgroundd
* do elemento com atributo 'data-parent'.
*
* créditos - @ZPiDER: http://stackoverflow.com/a/5365036/4056678
*/
function setRandomParentColor(){
var color = "#"+((1<<24)*Math.random()|0).toString(16); // cor "randomica"
document.querySelector('[data-parent]').style.backgroundColor = color;
}
/**
* Obtém a cor do elemento com atributo 'data-parent'.
*/
function getParentColor(){
return document.querySelector('[data-parent]').style.backgroundColor;
}
/**
* Altera a cor de background de todos os elementos
* com atributo 'data-target'.
*/
function setTargetsColors(color){
var targets = document.querySelectorAll('[data-target]'),
len = targets.length;
for(var i = 0; i < len; i++)
targets[i].style.backgroundColor = color;
}
setTargetsColors(getParentColor());
})();
<div data-parent style='background-color:blue'>Eu sou azul :)</div>
<button>Mudar cor</button>
<hr>
<div data-target>Eu serei afetado.</div>
<div data-target>Eu também.</div>
<div>Eu não.</div>
<div data-target>Eu sim.</div>
<div>Eu também não.</div>