HTML 색상변경

임재헌·2023년 3월 16일
0

HTML

목록 보기
4/20
<!DOCTYPE html>
<html lang="ko">
    <head>
        <title>04_색상.html</title>
    </head>

    <body>
        <!-- 색상 -->
        <!-- 참조 https://www.w3schools.com/colors/default.asp -->
        <!-- 색상표현 : 이름, 16진수, rgb함수 -->
        <!--
            ● [수의 체계]
               2진수 : 0 1
               8진수 : 0 1 2 3 4 5 6 7
              10진수 : 0 1 2 3 4 5 6 7 8 9 
              16진수 : 0 1 2 3 4 5 6 7 8 9 a b c d e f
        -->        

        <!-- Color Names -->
        <font color="red">제주도</font>
        <font color="green">제주도</font>
        <font color="blue">제주도</font>
        <hr>

        <!-- Hexadecimal Colors 16진수 -->
        <font color="#FF0000">제주도</font>
        <font color="#00FF00">제주도</font>
        <font color="#0000FF">제주도</font>
        <hr>

        <!-- RGB Colors -->
        <font color="rgb(255,0,0)">제주도</font>
        <font color="rgb(0,255,0)">제주도</font>
        <font color="rgb(0,0,255)">제주도</font> 
        
    </body>
</html>

0개의 댓글

관련 채용 정보