함수 rgb2hexcolor()

Jmnote (토론 | 기여)님의 2016년 12월 5일 (월) 16:32 판
rgb2hexcolor, rgb 2 hexcolor

1 PHP

function rgb2hexcolor($rgb) {
	return '#'.dechex($rgb[0]).dechex($rgb[1]).dechex($rgb[2]);
}

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}