u didn't specify your development platform. if it is only code composer studio then i don't think i can help you. if you use matlab as well, then this might help http://www.mathworks.com/matlabcentral/files/7744/colorspace.m http://www.mathworks.com/access/helpdesk/help/toolbox/tic6000/tic6000.html some theory: http://www.poynton.com/PDFs/coloureq.pdf more links: http://www.efg2.com/Lab/Library/Graphics/Colors/YUV.htm http://www.efg2.com/Lab/Library/Graphics/Colors/HSV.htm perhaps combine these two? hope i helped