함수 rgb2hexcolor()

Jmnote (토론 | 기여)님의 2014년 9월 15일 (월) 18:00 판 (새 문서: ;rgb2hexcolor, rgb 2 hexcolor ==PHP== category: PHP <source lang='PHP'> function rgb2hexcolor($rgb) { return '#'.dechex($rgb[0]).dechex($rgb[1]).dechex($rgb[2]); } </source>)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
rgb2hexcolor, rgb 2 hexcolor

PHP

function rgb2hexcolor($rgb) {
	return '#'.dechex($rgb[0]).dechex($rgb[1]).dechex($rgb[2]);
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}