HTML5 & CSS3
[HTML5 & CSS3] μΉμμ μμ νννκΈ°
μ½λ©νλ λΆμ΄
2021. 2. 3. 03:02
λ°μν
βΆ μΉμμ μμ νννκΈ°
* 16μ§μ νκΈ°λ²
μ) #ff0000 λ±λ±
β
* RGBμ RGBA νκΈ°λ²
rgb(red κ°, green κ°, blue κ°);
rgba(red κ°, green κ°, blud κ°, alpha κ°);
β
* hslκ³Ό hsla νκΈ°λ²
RGBμΈμ μμμ νκΈ°νλ λ°©λ². hue(μμ), saturation(μ±λ), lightness(λ°κΈ°)
hsl(<hue κ°>, <saturation κ°>, <lightness κ°>);
hsla(<hue κ°>, <saturation κ°>, <lightness κ°>, <alpha κ°>);
β
* μμ μ΄λ¦ νκΈ°λ²
μ μ΄λ¦μΌλ‘ νκΈ°νλ λ²
μ) white, red, yellow λ±
β
* μμ μΆμΆ μ¬μ΄νΈ μ΄μ©νκΈ°
λνμ μΈ μ¬μ΄νΈκ° Color Picker
λ°μν