Advertisement
Java_Volume1 Graphics/ Sound #101545

Oppisite Colour2 (HEX)

Grab the opposite 6 character HEX color. This sums up David Weirs Color invert script with just one line of code. See his original code at http://www.pscode.com/vb/scripts/showcode.asp?txtCodeId=7176&lngWId=4 Be careful when comming close to middle gray scale (808080). opposites are same.

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
Invert = Right("000000" & Hex(16777215 - CLng("&h" & Color)), 6)
원본 댓글 (3)
Wayback Machine에서 복구됨