십육진법
기수-16 시스템(0-F)—이진수의 간결한 표현.
Hexadecimal (hex) is a base-16 numeral system using 16 symbols: 0-9 for values 0-9, and A-F for values 10-15. Each hex digit represents exactly 4 binary bits, making it a convenient shorthand for binary.
Conversion:
- Binary to Hex: Group bits in fours, convert each group
- Example: 1101 0101₂ = D5₁₆
Common uses:
- Memory addresses: 0x7FFF0000
- Colors: #FF5733 (RGB)
- MAC addresses: 00:1A:2B:3C:4D:5E
graph LR
Center["십육진법"]:::main
Pre_binary["binary"]:::pre --> Center
click Pre_binary "/terms/binary"
Rel_binary["binary"]:::related -.-> Center
click Rel_binary "/terms/binary"
Rel_byte["byte"]:::related -.-> Center
click Rel_byte "/terms/byte"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 5살도 이해할 수 있게 설명
10 대신 16개의 다른 기호로 세는 것을 상상해 보세요. 9 다음에는 문자를 사용합니다: A=10, B=11, F=15까지. 긴 이진수를 줄여 쓰는 것입니다—긴 단어에 약어를 사용하는 것처럼요!
🤓 Expert Deep Dive
메모리 디버깅은 16진수 덤프에 크게 의존합니다. x86 명령어 인코딩은 16진수 opcode를 사용합니다. UUID 형식: 8-4-4-4-12 16진수 그룹(총 128비트). SHA-256은 64개의 16진수 문자를 생성합니다.
🔗 관련 용어
선행 지식:
📚 출처
1. Hexadecimal
2. Web colors