How to change the color of a unicode character - Stack Overflow
文章推薦指數: 80 %
No. The color is inherent to the character -- there's a LARGE BLUE CIRCLE as well (U+1F535 - 🔵), but no other colors are currently defined ...
Home
Public
Questions
Tags
Users
Collectives
ExploreCollectives
FindaJob
Jobs
Companies
Teams
StackOverflowforTeams
–Collaborateandshareknowledgewithaprivategroup.
CreateafreeTeam
WhatisTeams?
Teams
CreatefreeTeam
CollectivesonStackOverflow
Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost.
Learnmore
Teams
Q&Aforwork
Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch.
Learnmore
Howtochangethecolorofaunicodecharacter
AskQuestion
Asked
4years,9monthsago
Active
3monthsago
Viewed
16ktimes
9
2
I'mtryingtogetagreen,cyan,purpleandyellowlargecirclelikethisone:🔴,buttherearen'tanycodesforone.Isthereanywaytochangethecodetochangethecolor?
unicode
Share
Follow
askedMar4'17at16:40
AshNelsonAshNelson
10911goldbadge11silverbadge44bronzebadges
5
Colorisgenerallyorthogonaltocharacter.Itismoreaquestionofdisplaydevice.
– JohnColeman
Mar4'17at16:49
1
Whydoyouneedtouseunicode-characters?Ifyou'redisplayingthisasHTML,can'tyoujustmakethemwithcontainersandCSS?OruseathinglikeFontAwesome,withthefilledcircle?
– junkfoodjunkie
Mar4'17at16:50
Unicodedefinesglyphs,whichisthecodepointsandtheshapeofthecharacters,notthecolor.Somenewfontsandfontrenderershavesupportforcoloremojibutgenerallyfontsize,color,boldness,slantnesscannotbecontrolledbyUnicode
– phuclv
Mar4'17at17:01
1
PossibleduplicateofColorintheUnicodestandard?
– phuclv
Mar4'17at17:01
Thisisausefulresourceforwhenyoucan'tordon'twantto(orcan't)touchthefront-endbutwantsomecolorfulcharacters(e.g.onaheadlessCMS):emojiterra.com
– edison23
Dec2'20at7:33
Addacomment
|
3Answers
3
Active
Oldest
Votes
5
No.Thecolorisinherenttothecharacter--there'saLARGEBLUECIRCLEaswell(U+1F535-🔵),butnoothercolorsarecurrentlydefinedbytheUnicodestandard.
Share
Follow
answeredMar4'17at16:47
user149341user149341
2
eventheLARGEBLUECIRCLEisn'tnecessarilyrenderedincolorfileformat.info/info/unicode/char/1f535/index.htm
– phuclv
Mar4'17at16:56
4
🔵🔴🟠🟡🟢🟣🟤🟦🟥🟧🟨🟩🟪🟫🛑🔶🔷🔸🔹🔺🔻𝐄𝐭𝐜...
– ashleedawg
Oct30'20at11:13
Addacomment
|
3
IfusingHTML,then
YoucanappendxFE0EtogetthetextversionandcolorthatusingCSS:
🔴
🔴︎
延伸文章資訊
- 1Color in the Unicode standard? - Reddit
- 2UTF-8 Miscellaneous Symbols - W3Schools
- 3coloring Unicode symbols - CodePen
Unicode symbols offer a very efficient alternative to images for many use cases in modern front-e...
- 4How to change the color of a unicode character - Stack Overflow
No. The color is inherent to the character -- there's a LARGE BLUE CIRCLE as well (U+1F535 - 🔵), ...
- 51066933 - Unicode characters break Emoji Color - Mozilla ...
Unicode characters break Emoji Color ... to reproduce: Firefox 35.0a1(and possible some previous ...