Mã màu (#RRGGBB) là gì?
- Sáu ký tự sau #
- Lần lượt là đỏ, lục, lam
- Còn được viết là RGB
The strings like "#FF0000" often seen on the web and in design are colour codes. Colours found with Pick Color Codes from an Image are shown in this form.
What a colour code is
A way to express a colour as the amounts of three lights: red (R), green (G) and blue (B). Each is a number from 0 to 255, written as two hexadecimal digits (00–FF), lined up with a "#".
- "#" + two digits of red + two digits of green + two digits of blue
Examples
- #FF0000: red (red at maximum, green and blue 0)
- #00FF00: green
- #0000FF: blue
- #FFFFFF: white (all at maximum)
- #000000: black (all 0)
- #808080: grey (the middle)
Steps (finding one)
- Choose an image with "Choose an image".
- Tap (click) on the image.
- Press "Copy" next to the colour code shown.
- When "Copied" appears, paste it.
What hexadecimal is
A way of counting based on 16, using A–F (10–15) in addition to 0–9. Two digits can express 0–255.
- 00 = 0
- 0A = 10
- FF = 255
Where it is used
- Website design (CSS)
- Colour settings for blogs
- Colour specification in slides and documents
- Colour specification in design software
Short notation
If each pair of digits is the same, as in "#FFAA00", it can sometimes be written short as "#FA0". Support differs by app. Entering six digits is usually safest.
Common stumbling blocks
- No "#" attached: some apps need the "#". Check what you copied.
- Upper or lower case letters: in most cases they give the same colour.
- Print and screen colours differ: print produces colour by a different mechanism.
Frequently asked questions
Can I specify by colour name (red, blue and so on)?
Possible in some apps. For fine colours, colour codes are more reliable.
Tóm tắt
A colour code is a notation of "#" and six characters. Copy it and paste it as it is.
Dùng “Lấy mã màu từ ảnh” (miễn phí)Công cụ hay dùng cùng
- Cắt và xoay ảnh: Cắt ảnh theo vùng hoặc tỉ lệ bất kỳ và xoay ảnh.
- Áp dụng hiệu ứng đen trắng, nâu đỏ (sepia) và các kiểu khác: Chuyển ảnh sang đen trắng hoặc nâu đỏ (sepia), hoặc chỉnh độ sáng.
- Đổi kích thước ảnh theo pixel: Đổi kích thước ảnh theo chiều rộng, chiều cao hoặc phần trăm.
Nếu hướng dẫn này hữu ích, một khoản ủng hộ nhỏ sẽ là niềm động viên lớn.
Gửi tiền ủng hộ (¥300)Tặng quà (danh sách mong muốn Amazon)