nevai,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://colpick.com/colpick/js/colpick.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://colpick.com/colpick/css/colpick.css" type="text/css"/>
</head>
<body>
<input type="text" size="12" id="zvetten" class="zvetten" rel="zvetten" value="255,255,255" style="background: #d1e5f0;"/>
<script>
$('.zvetten').colpick({
layout:'rgbhex',
submit:0,
colorScheme:'light',
onChange:function(hsb,hex,rgb,el,bySetColor) {
$(el).css('background','#'+hex);
// здесь я его заношу для вывода в hex
// css3['rgbValue'] = '#'+hex;
// createCSS();
if(!bySetColor) {$(el).val(rgb.r+','+rgb.g+','+rgb.b);
$(el).css({color : 'rgb('+(255-rgb.r)+','+(255-rgb.g)+','+(255 -rgb.b)+')'})}
}
}).keyup(function(){
$(this).colpickSetColor(this.value);
});
</script>
</body>
</html>