티스토리 뷰

html & css

css) color

tose33 2021. 8. 6. 17:43

rgb, rgba

rgb 프로퍼티로 색상을 세부적으로 설정할수 있다.

 

rgba 프로퍼티의 4번째 파라미터는 transparent로 0~1 사이의 값을 갖고

색상의 투명도를 결정한다.

0에 가까울수록 투명해지고 1에 가까울수록 짙어진다.

 

 

HEX values   #RRGGBB

16진법을 hex, hexadecimal이라 한다.

총 16개의 숫자,알파뱃으로 색을 표현할수 있다.

 

0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

 

ex) 

#FF0000 : 빨강

#00FF00 : 초록

#000000 : 검정 

 

 

 

색상 선택기:

https://coolors.co/

 

Coolors - The super fast color schemes generator!

Generate or browse beautiful color combinations for your designs.

coolors.co

 

 

'html & css' 카테고리의 다른 글

css) calc() function  (0) 2021.08.07
css) css unit (px, %, em, rem, vh, vw)  (0) 2021.08.06
css) Selector  (0) 2021.08.04
css) Inline, Internal, External  (0) 2021.08.03
html  (0) 2021.07.29
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함