Is there a way to change the color of the nodes in graph view?

Now what you should do is copy the individual blocks of code into the css file called obsidian on your vault ! first you should enable custom css on appearance and plugin tab
Now to change different colors just paste the hexcode after the # to change the colors !
I recommend going to https://encycolorpedia.com/ to find suitable color hexcodes!

for tag color :

.theme-dark .graph-view.color-fill-tag {
color: #5dbcd2;
}

for file attachment color:

.theme-dark .graph-view.color-fill-attachment {
color: #d669bc;
}

for unresolved (not made but linked)notes:

.theme-dark .graph-view.color-fill-unresolved {
color: #9e8aff;
Opacity:1;
}

For color of arrow if you enable it in graph settings

.theme-dark .graph-view.color-arrow {
color: #d669bc;
}

now

the node settings and string settings:

For the color of node

.graph-view.color-fill {
color: #fcf601;
}

for the color of the strings attaching nodes together:

.graph-view.color-line {
color: #26798c;
}

for text on the nodes ( name of notes ) :

.graph-view.color-text {
color: #cccccc;
}

Also the node color but when you hover on the node:

.graph-view.color-fill-highlight {
color: #26798c;
}

Also the line color which join the notes but when you hover on the node:

.graph-view.color-line-highlight {
color: #5dbcd2;
}

hope

it helps

24 Likes